hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/navpoint.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Synaptics NavPoint (PXA27x SSP/SPI) driver.
34 *
45 * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/kernel.h>
....@@ -108,7 +105,7 @@
108105 case 0x19: /* Module 0, Hello packet */
109106 if ((navpoint->data[1] & 0xf0) == 0x10)
110107 break;
111
- /* FALLTHROUGH */
108
+ fallthrough;
112109 default:
113110 dev_warn(navpoint->dev,
114111 "spurious packet: data=0x%02x,0x%02x,...\n",