[PATCH] HID: Fix typo in hid-appleir.c and hid-logitech-hidpp.c
From: Zhu Jun
Date: Wed Dec 04 2024 - 03:34:53 EST
The word 'accross' is wrong, so fix it.
Signed-off-by: Zhu Jun <zhujun2@xxxxxxxxxxxxxxxxxxxx>
---
drivers/hid/hid-appleir.c | 2 +-
drivers/hid/hid-logitech-hidpp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hid/hid-appleir.c b/drivers/hid/hid-appleir.c
index 8deded185..d84d69e52 100644
--- a/drivers/hid/hid-appleir.c
+++ b/drivers/hid/hid-appleir.c
@@ -117,7 +117,7 @@ struct appleir {
static int get_key(int data)
{
/*
- * The key is coded accross bits 2..9:
+ * The key is coded across bits 2..9:
*
* 0x00 or 0x01 ( ) key: 0 -> KEY_RESERVED
* 0x02 or 0x03 ( menu ) key: 1 -> KEY_MENU
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 10a3bc5f9..c5856e24c 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -3321,7 +3321,7 @@ static int m560_input_mapping(struct hid_device *hdev, struct hid_input *hi,
/*
* The Logitech K400 keyboard has an embedded touchpad which is seen
* as a mouse from the OS point of view. There is a hardware shortcut to disable
- * tap-to-click but the setting is not remembered accross reset, annoying some
+ * tap-to-click but the setting is not remembered across reset, annoying some
* users.
*
* We can toggle this feature from the host by using the feature 0x6010:
--
2.17.1