cw1200: Fix suspend
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 15 Mar 2015 13:26:20 +0000 (14:26 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 06:30:32 +0000 (08:30 +0200)
commit8fbb2e98fef043019b9d546300406b2f6e9d38f5
treefcbc89a40ded123fa002d4d85cc2b0e680f6a3ec
parent0aef188a361b85d6804ed5fdfc69dde0f5074f59
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>
drivers/net/wireless/cw1200/cw1200_spi.c