OSDN Git Service

iio: hid-sensor-gyro-3d: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:55:55 +0000 (10:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:45 +0000 (22:55 +0000)
commit27ce4239367793f1f008d2f3dac10e3987b9ecd4
tree21738625645aa1a4bbf9f8b4c000f6429ae5f1ff
parentcbbcc937090b0d3137eac58759480b13d73f159d
iio: hid-sensor-gyro-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/gyro/hid-sensor-gyro-3d.c