iio: imu: kmx61: Add PM sleep support
authorDaniel Baluta <daniel.baluta@intel.com>
Wed, 3 Dec 2014 13:31:51 +0000 (15:31 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 13:45:14 +0000 (13:45 +0000)
commit3b9c40e604ee61e69a8aff6e1a426a6250ff4361
tree1d7eabf139797a6e9918ddc38a8b497494d4a163
parentaff8609addd00efa3d907f3523823693f95686fd
iio: imu: kmx61: Add PM sleep support

Per sensor state (ACTIVE/STANDBY) is saved in driver's
private data (acc_stby/mag_stby) and restored when
resume is called.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/kmx61.c