iio: magnetometer: mmc35240: Add PM sleep support
authorDaniel Baluta <daniel.baluta@intel.com>
Fri, 24 Apr 2015 15:58:31 +0000 (18:58 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 May 2015 19:31:45 +0000 (20:31 +0100)
commit553a776b790816161cd334647eae2093fd126e36
tree66fa5fff8e4c6d6df673de01faff1865fa8b41b8
parentabeb6b1e7bbffb3dbcd918827673feafecc378d1
iio: magnetometer: mmc35240: Add PM sleep support

We rely on regmap to save the state of the registers at suspend,
and then we do an explicit sync at resume.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mmc35240.c
This page took 0.028015 seconds and 5 git commands to generate.