iio: hid-sensor-press: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:56:00 +0000 (10:56 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:56:00 +0000 (22:56 +0000)
commita77945fd4f9af5298196345d89905d604d1fa884
tree99e545aa27a9245e3dbbcfc0675f6dc2d4fb8709
parentfeb2b06d630922c62ee72ebe207d4cde2f1cfa22
iio: hid-sensor-press: 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/pressure/hid-sensor-press.c