hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/drivers/input/mouse/hgpk.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver
34 *
....@@ -12,10 +13,6 @@
1213 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com>
1314 * Copyright (c) 2004 Dmitry Torokhov <dtor@mail.ru>
1415 * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz>
15
- *
16
- * This program is free software; you can redistribute it and/or modify
17
- * it under the terms of the GNU General Public License version 2 as
18
- * published by the Free Software Foundation.
1916 */
2017
2118 /*
....@@ -241,7 +238,7 @@
241238 /* we're not spewing, but this packet might be the start */
242239 priv->spew_flag = MAYBE_SPEWING;
243240
244
- /* fall-through */
241
+ fallthrough;
245242
246243 case MAYBE_SPEWING:
247244 priv->spew_count++;
....@@ -252,7 +249,7 @@
252249 /* excessive spew detected, request recalibration */
253250 priv->spew_flag = SPEW_DETECTED;
254251
255
- /* fall-through */
252
+ fallthrough;
256253
257254 case SPEW_DETECTED:
258255 /* only recalibrate when the overall delta to the cursor