public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: cherry: Fix switch case formatting
@ 2026-03-25 16:13 aravindanilraj0702
  2026-03-26 16:35 ` Benjamin Tissoires
  0 siblings, 1 reply; 2+ messages in thread
From: aravindanilraj0702 @ 2026-03-25 16:13 UTC (permalink / raw)
  To: jikos, bentiss; +Cc: linux-input, linux-kernel, Aravind Anilraj

From: Aravind Anilraj <aravindanilraj0702@gmail.com>

Fix checkpatch warnings by splitting single-line case
statements into multiple lines.

No functional changes.

Signed-off-by: Aravind Anilraj <aravindanilraj0702@gmail.com>
---
 drivers/hid/hid-cherry.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/drivers/hid/hid-cherry.c b/drivers/hid/hid-cherry.c
index a504632febfc..828a3cc67512 100644
--- a/drivers/hid/hid-cherry.c
+++ b/drivers/hid/hid-cherry.c
@@ -43,9 +43,15 @@ static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 		return 0;
 
 	switch (usage->hid & HID_USAGE) {
-	case 0x301: ch_map_key_clear(KEY_PROG1);	break;
-	case 0x302: ch_map_key_clear(KEY_PROG2);	break;
-	case 0x303: ch_map_key_clear(KEY_PROG3);	break;
+	case 0x301:
+		ch_map_key_clear(KEY_PROG1);
+		break;
+	case 0x302:
+		ch_map_key_clear(KEY_PROG2);
+		break;
+	case 0x303:
+		ch_map_key_clear(KEY_PROG3);
+		break;
 	default:
 		return 0;
 	}
-- 
2.47.3


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

end of thread, other threads:[~2026-03-26 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 16:13 [PATCH] HID: cherry: Fix switch case formatting aravindanilraj0702
2026-03-26 16:35 ` Benjamin Tissoires

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