diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-04-13 13:20:07 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-04-16 19:00:01 -0700 |
commit | 6b170807cd5cac8dc6353f47a88ccb14bbf76c4f (patch) | |
tree | c8c438b552aaa115cf0acdb0b5033c7cb34b1e9f /kernel/debug | |
parent | f2c6a5fb258bdfa5aa9743b912b6b782fa631959 (diff) |
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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions