summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2021-06-05 17:04:49 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-06-05 20:34:09 -0700
commit2a15cebb8b40ef55d3a565b9acaec21791cb7e37 (patch)
tree5eb82466588108f3e67b5f7a263ece6ac6582ea2 /drivers/input
parent9a9b1a7b2b08aa64d2876e48f51c7fbbebd5723c (diff)
Input: cy8ctmg110_ts - do not hardcode as wakeup source
Let platform specify whether the controller should be a wakeup source by registering as I2C_CLIENT_WAKE. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210603043726.3793876-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/cy8ctmg110_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c
index d83257284537..d83bf82f02d4 100644
--- a/drivers/input/touchscreen/cy8ctmg110_ts.c
+++ b/drivers/input/touchscreen/cy8ctmg110_ts.c
@@ -233,7 +233,7 @@ static int cy8ctmg110_probe(struct i2c_client *client,
goto err_free_irq;
i2c_set_clientdata(client, ts);
- device_init_wakeup(&client->dev, 1);
+
return 0;
err_free_irq: