iio: hid-sensor-als: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:55:56 +0000 (10:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:47 +0000 (22:55 +0000)
commit2c615aff1a8d3264610f1b4825452d49fcfc5cfb
treeb9f96420349bf25dc759cc47316cf006773da115
parent27ce4239367793f1f008d2f3dac10e3987b9ecd4
iio: hid-sensor-als: 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-als.c