]> git.hungrycats.org Git - linux/commit
pcmcia: ds: fix suspend/resume
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 31 Aug 2016 07:49:43 +0000 (08:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:21:22 +0000 (15:21 +0200)
commit359533e056b2b6505c39a0eaa7557c14cb072c1b
treebd2b99a603344a17e65fa838a713aabf58a2561c
parent09cc15a96e8bd090fbf2e6db86ba6f5b79aa54ac
pcmcia: ds: fix suspend/resume

commit ad8d52b897a14711e026889053befbbee7fd51ba upstream.

PCMCIA suspend/resume no longer works since the commit mentioned below,
as the callbacks are no longer made.  Convert the driver to the new
dev_pm_ops, which restores the suspend/resume functionality.  Tested on
the arm arch Assabet platform.

Fixes: aa8e54b559479 ("PM / sleep: Go direct_complete if driver has no callbacks")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/ds.c