From: Manuel Ebner <manuelebnerli@mailbox.org>
To: Basavaraj Natikar <basavaraj.natikar@amd.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
Ping Cheng <ping.cheng@wacom.com>,
Jason Gerecke <jason.gerecke@wacom.com>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/hid: fix brackets in comments
Date: Sat, 21 Nov 2026 09:56:28 +0100 [thread overview]
Message-ID: <20261121085628.1430330-2-manuelebnerli@mailbox.org> (raw)
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
reply other threads:[~2026-11-21 8:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261121085628.1430330-2-manuelebnerli@mailbox.org \
--to=manuelebnerli@mailbox.org \
--cc=basavaraj.natikar@amd.com \
--cc=bentiss@kernel.org \
--cc=jason.gerecke@wacom.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ping.cheng@wacom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®