Input: matrix-keypad - fix 'duplicate const' sparse warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 21 Apr 2012 05:33:08 +0000 (22:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 21 Apr 2012 06:06:45 +0000 (23:06 -0700)
commit0508c19a6fddd1ba5495004370e4fc2fd4a7d33a
treea4c98a2a843bc7cbe9816ddce409012ca98aebc7
parent5cb727a86780fcac34de871cd12bea3f744d6be2
Input: matrix-keypad - fix 'duplicate const' sparse warning

SIMPLE_DEV_PM_OPS already defines constant dev_pm_ops.

Also guard PM methods with CONFIG_PM_SLEEP and get rid of some
unneeded #ifdefs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/matrix_keypad.c