summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-12-11 22:13:25 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-12-11 22:15:51 +0100
commit3e35c1946805b3ecc7967e0df2bd95a7d0e0bff1 (patch)
tree907e96d7be23847aaf9f17f4c3dfea3d873e8342 /drivers/input
parentInput: ipx4xx-beeper - convert comma to semicolon (diff)
downloadlinux-3e35c1946805b3ecc7967e0df2bd95a7d0e0bff1.tar.xz
linux-3e35c1946805b3ecc7967e0df2bd95a7d0e0bff1.zip
Input: adp5589-keys - do not unconditionally configure as wakeup source
We should not be configuring the controller as a wakeup source in the driver, but rather rely on I2C core to mark it as such by either instantiating as I2C_CLIENT_WAKEUP or specifying "wakeup-source" device property. Link: https://lore.kernel.org/r/20201120073920.3214492-1-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/adp5589-keys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c
index e2cdf14d90cd..d76b0e4e67c4 100644
--- a/drivers/input/keyboard/adp5589-keys.c
+++ b/drivers/input/keyboard/adp5589-keys.c
@@ -930,8 +930,6 @@ static int adp5589_keypad_add(struct adp5589_kpad *kpad, unsigned int revid)
return error;
}
- device_init_wakeup(&client->dev, 1);
-
return 0;
}