commit | 8fbb2e98fef043019b9d546300406b2f6e9d38f5 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sun Mar 15 14:26:20 2015 +0100 |
committer | Kalle Valo <kvalo@codeaurora.org> | Fri Mar 20 08:30:32 2015 +0200 |
tree | fcbc89a40ded123fa002d4d85cc2b0e680f6a3ec | |
parent | 0aef188a361b85d6804ed5fdfc69dde0f5074f59 [diff] |
cw1200: Fix suspend The cw1200 driver implements suspend and resume callbacks and assigns them to the suspend and resume fields of the device_driver struct. These callbacks are never actually called by anything though. Modify the driver to properly use dev_pm_ops so that the suspend function is actually executed upon suspend and drop the empty resume function. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>