Input: sx8654 - Fix comment typo

Started by Jason Wang on Jul 28, 2022

Subsystems (2)

Maintainers (2)

DORMANTno replies

open the first message on its own page

Message details and related content
The double `mode' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help