Input: sh_keysc - implement runtime PM support
authorMagnus Damm <damm@opensource.se>
Thu, 28 Apr 2011 16:32:44 +0000 (09:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Apr 2011 16:36:43 +0000 (09:36 -0700)
commitb6d2a3e6ff6a7019b4a240b6bc4a4d74ce82d533
tree90cde4dc7ed09a55316aa471c46bd44c8bcdcf7d
parente490ebdc3ce1a58e66aeacc485294a45710067f5
Input: sh_keysc - implement runtime PM support

Convert the KEYSC driver from MSTP bit control through a magic clock
string to making use of Runtime PM.

Also, update the system suspend/resume callbacks to drop the Runtime
PM reference in the case of wakeup disabled.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/sh_keysc.c