OSDN Git Service

iio: hid-sensor-incl-3d: Introduce PM
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 7 Jan 2015 18:55:59 +0000 (10:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:55:56 +0000 (22:55 +0000)
commitfeb2b06d630922c62ee72ebe207d4cde2f1cfa22
tree5d0b9a8275cea9a5f85c1349e1045fafdc71af3e
parent0ef809cf9956c156220155203b0df934f2b2fc14
iio: hid-sensor-incl-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/orientation/hid-sensor-incl-3d.c