• Lars-Peter Clausen's avatar
    cw1200: Fix suspend · 8fbb2e98
    Lars-Peter Clausen authored
    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: default avatarLars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    8fbb2e98
cw1200_spi.c 10.6 KB