2022-07-28 13:17:17

by Jason Wang

[permalink] [raw]
Subject: [PATCH] Input: sx8654 - Fix comment typo

The double `mode' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/input/touchscreen/sx8654.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index de85e57b2486..984d79bfea80 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -292,7 +292,7 @@ static void sx8654_close(struct input_dev *dev)
if (!sx8654->data->has_irq_penrelease)
del_timer_sync(&sx8654->timer);

- /* enable manual mode mode */
+ /* enable manual mode */
error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);
if (error) {
dev_err(&client->dev, "writing command CMD_MANUAL failed");
--
2.35.1