Input: tca6416-keypad - rely on I2C core to set up suspend/resume
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 24 Jul 2023 05:30:19 +0000 (22:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Jul 2023 01:04:14 +0000 (18:04 -0700)
commitd3176b29263aa8211830c77d87a806066c2c178c
tree406ea6721d9bb2bb71e8d9ed56acd8d351f52b26
parent687fe7dfb736b03ab820d172ea5dbfc1ec447135
Input: tca6416-keypad - rely on I2C core to set up suspend/resume

tca6416_keypad_suspend() and tca6416_keypad_resume() only configure device
IRQ for wakeup. I2C core already does this by registering interrupt as a
wakeup IRQ in case when device is marked as wakeup-enabled, so we can
simply remove this code from the driver.

Link: https://lore.kernel.org/r/20230724053024.352054-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca6416-keypad.c