iio: hid-sensor-prox: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:55:57 +0000 (10:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:50 +0000 (22:55 +0000)
commita357b9b0c5e7ac8276aebd366297d6441e697a27
tree55efaede3cced2ae0885d556dcf16389967226be
parent2c615aff1a8d3264610f1b4825452d49fcfc5cfb
iio: hid-sensor-prox: 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/light/hid-sensor-prox.c