diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-04-13 15:20:07 +0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-04-17 06:00:01 +0400 |
commit | 6b170807cd5cac8dc6353f47a88ccb14bbf76c4f (patch) | |
tree | c8c438b552aaa115cf0acdb0b5033c7cb34b1e9f /drivers/hwmon/Kconfig | |
parent | f2c6a5fb258bdfa5aa9743b912b6b782fa631959 (diff) | |
download | linux-6b170807cd5cac8dc6353f47a88ccb14bbf76c4f.tar.xz |
pm2301-charger: Fix suspend/resume
The pm2301-charger driver implements runtime pm and at the same time uses
the legacy pm callbacks for suspend and resume. This does not work since
the I2C core wont look at the legacy pm callbacks if a driver has the 'pm'
field set. This patch fixes it by moving over to dev_pm_ops for
suspend/resume as well.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions