Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] drivers/hid: fix brackets in comments
@ 2026-11-21  8:56 Manuel Ebner
  2026-11-21  9:02 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Ebner @ 2026-11-21  8:56 UTC (permalink / raw)
  To: Basavaraj Natikar, Jiri Kosina, Benjamin Tissoires, Ping Cheng,
	Jason Gerecke
  Cc: Manuel Ebner, linux-input, linux-kernel

Remove multiple ')' without opening '(' and add missing '(' in comments.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
 .../hid_descriptor/amd_sfh_hid_report_desc.h         | 12 ++++++------
 drivers/hid/wacom_wac.c                              |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_report_desc.h b/drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_report_desc.h
index 67ec2d6a417d..6c331c2c63b8 100644
--- a/drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_report_desc.h
+++ b/drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_report_desc.h
@@ -81,7 +81,7 @@ static const u8 accel3_report_descriptor[] = {
 0x95, 1,	  /* HID report count(1) */
 0x55, 0,	  /* HID unit exponent(0) */
 0xB1, 0x02,	  /* HID feature (Data_Arr_Abs) */
-0x0A, 0x52, 0x14, /* Sensor data motion accel and mod change sensitivity ABS) */
+0x0A, 0x52, 0x14, /* Sensor data motion accel and mod change sensitivity ABS */
 
 0x15, 0,		/* HID logical Min_8(0) */
 0x26, 0xFF, 0xFF,	/* HID logical Max_16(0xFF,0xFF) */
@@ -248,7 +248,7 @@ static const u8 gyro3_report_descriptor[] = {
 0x95, 1,		/* HID report count(1) */
 0x55, 0,		/* HID unit exponent(0) */
 0xB1, 0x02,		/* HID feature (Data_Arr_Abs) */
-0x0A, 0x56, 0x14,	/* Angular velocity and mod change sensitivity ABS)*/
+0x0A, 0x56, 0x14,	/* Angular velocity and mod change sensitivity ABS*/
 
 0x15, 0,		/* HID logical Min_8(0) */
 0x26, 0xFF, 0xFF,	/* HID logical Max_16(0xFF,0xFF) */
@@ -408,7 +408,7 @@ static const u8 comp3_report_descriptor[] = {
 0x95, 1,		/* HID report count(1) */
 0x55, 0,		/* HID unit exponent(0) */
 0xB1, 0x02,		/* HID feature (Data_Arr_Abs) */
-0x0A, 0x71, 0x14,	/* Orientation  and mod change sensitivity ABS)*/
+0x0A, 0x71, 0x14,	/* Orientation  and mod change sensitivity ABS*/
 0x15, 0,		/* HID logical Min_8(0) */
 0x26, 0xFF, 0xFF,	/* HID logical Max_16(0xFF,0xFF) */
 0x75, 16,		/* HID report size(16) */
@@ -429,14 +429,14 @@ static const u8 comp3_report_descriptor[] = {
 0x95, 1,		/* HID report count(1) */
 0x55, 0x0F,		/* HID unit exponent(0x0F) */
 0xB1, 0x02,		/* HID feature (Data_Arr_Abs) */
-0x0A, 0x84, 0x14,	/* Maganetic flux and change sensitivity ABS) */
+0x0A, 0x84, 0x14,	/* Maganetic flux and change sensitivity ABS */
 0x15, 0,		/* HID logical Min_8(0) */
 0x26, 0xFF, 0xFF,	/* HID logical Max_16(0xFF,0xFF) */
 0x75, 16,		/* HID report size(16) */
 0x95, 1,		/* HID report count(1) */
 0x55, 0x0E,		/* HID unit exponent(0x0E) */
 0xB1, 0x02,		/* HID feature (Data_Arr_Abs) */
-0x0A, 0x84, 0x24,	/* Maganetic flux and mod change sensitivity Max) */
+0x0A, 0x84, 0x24,	/* Maganetic flux and mod change sensitivity Max */
 0x16, 0x01, 0x80,	/* HID logical Min_16(0x01,0x80) */
 0x26, 0xFF, 0x7F,	/* HID logical Max_16(0xFF,0x7F) */
 0x75, 16,		/* HID report size(16) */
@@ -581,7 +581,7 @@ static const u8 als_report_descriptor[] = {
 0x95, 1,		/* HID report count(1) */
 0x55, 0,		/* HID unit exponent(0) */
 0xB1, 0x02,		/* HID feature (Data_Arr_Abs) */
-0x0A, 0xD1, 0xE4,	/* Light illuminance and sensitivity REL PCT) */
+0x0A, 0xD1, 0xE4,	/* Light illuminance and sensitivity REL PCT */
 0x15, 0,		/* HID logical Min_8(0) */
 0x26, 0x10, 0x27,	/* HID logical Max_16(0x10,0x27) */
 0x75, 16,		/* HID report size(16) */
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index da1f0ea85625..b7aa6b60fb02 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -546,7 +546,7 @@ static int wacom_intuos_pad(struct wacom_wac *wacom)
 		 * physically implemented as a touchstrip. Each button
 		 * is approximately 3 bits wide with a 2 bit spacing.
 		 * The raw touchstrip bits are stored at:
-		 *    ((data[3] & 0x1f) << 8) | data[4])
+		 *    (((data[3] & 0x1f) << 8) | data[4])
 		 */
 		nkeys = 3;
 		keys = ((data[3] & 0x1C) ? 1<<2 : 0) |
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-21  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21  8:56 [PATCH] drivers/hid: fix brackets in comments Manuel Ebner
2026-11-21  9:02 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox