]> git.karo-electronics.de Git - linux-beck.git/commit
pcmcia: ds: fix suspend/resume
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 31 Aug 2016 07:49:43 +0000 (08:49 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Sep 2016 09:57:00 +0000 (10:57 +0100)
commitad8d52b897a14711e026889053befbbee7fd51ba
treec51a030650bdab011f8c0f6e6a32eea551e31f61
parent9395452b4aab7bc2475ef8935b4a4fb99d778d70
pcmcia: ds: fix suspend/resume

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>
drivers/pcmcia/ds.c