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