2023-07-17 10:00:27

by hanyu001

[permalink] [raw]
Subject: Fwd: [PATCH] drivers: macintosh: space required after that ','

This patch fixes the checkpatch.pl error:

./drivers/macintosh/adbhid.c:1091: ERROR: space required after that ','
(ctx:VxV)

Signed-off-by: maqimei <[email protected]>
---
drivers/macintosh/adbhid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c
index b2fe7a3..293e72a 100644
--- a/drivers/macintosh/adbhid.c
+++ b/drivers/macintosh/adbhid.c
@@ -1088,7 +1088,7 @@ static void adbhid_input_unregister(int id)
unsigned char r1_buffer[8];

adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1,
- ADB_READREG(id,1));
+ ADB_READREG(id, 1));
if (req.reply_len < 8)
pr_err("%s: bad length for reg. 1\n", __func__);
else