iio: hid-sensor-magn-3d: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:55:58 +0000 (10:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:53 +0000 (22:55 +0000)
commit0ef809cf9956c156220155203b0df934f2b2fc14
treefebd7b16ab9e37e833a12945a3758db42a3d7f36
parenta357b9b0c5e7ac8276aebd366297d6441e697a27
iio: hid-sensor-magn-3d: Introduce PM

Use common hid sensor iio pm functions. Also the poll time read and
wait is part of power up function of hid sensor iio pm function, so
remove from the client drivers.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/hid-sensor-magn-3d.c