Raul E Rangel d86388c902 Input: raydium_ts_i2c - use PM subsystem to manage wake irq
The raydium I2C touchscreen driver is currently manually managing the
wake IRQ. This change removes the explicit enable_irq_wake /
disable_irq_wake and instead relies on the PM subsystem. This is done by
calling dev_pm_set_wake_irq.

i2c_device_probe already calls dev_pm_set_wake_irq when using device
tree, and i2c_device_remove also already calls dev_pm_clear_wake_irq.
There could be some device tree systems that have incorrectly declared
`wake` capabilities, so this change will set the wake irq if one is
missing. This matches the previous behavior.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Link: https://lore.kernel.org/r/20220929093200.v6.4.I06b417b274bbecb31775a73993a7a3c1bc80de7b@changeid
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2022-11-22 13:58:49 -08:00
..
2020-12-02 22:10:33 -08:00
2020-12-02 22:10:33 -08:00
2020-12-02 22:10:33 -08:00
2022-10-09 22:30:23 -07:00
2022-09-29 16:25:42 -07:00
2022-03-20 22:00:12 -07:00
2020-12-02 22:10:33 -08:00
2021-09-06 23:33:26 -07:00
2021-12-12 21:10:23 -08:00
2022-08-16 12:46:26 +02:00
2020-12-02 22:10:33 -08:00