Input: ili210x - remove unneeded suspend and resume handlers
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 4 Nov 2019 23:30:22 +0000 (15:30 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Nov 2019 00:12:26 +0000 (16:12 -0800)
commita5fdf7d02656e71071d1a13ab887f94e58651baf
treeaa3155d70c5b61ca733127854dd3f64907c31087
parent172bb5f34c0dd5e94eb877edb3e8721d1ebd5c75
Input: ili210x - remove unneeded suspend and resume handlers

When I2C client is instantiated with I2C_CLIENT_WAKE flag (either via
"wakeup-source" device property, or via board info flag), it will mark the
main IRQ line as wakeup IRQ, which will ensure that it will be enabled for
wakeup when system transitions to suspend state. Since our suspend/resume
handlers were only managing IRQ wakeup state, they are no longer needed,
and can be removed.

Tested-by: Adam Ford <aford173@gmail.com> #imx6q-logicpd
Tested-by: Sven Van Asbroeck <TheSven73@gmail.com> # ILI2118A variant
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c