.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * OLPC HGPK (XO-1) touchpad PS/2 mouse driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
12 | 13 | * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> |
---|
13 | 14 | * Copyright (c) 2004 Dmitry Torokhov <dtor@mail.ru> |
---|
14 | 15 | * 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. |
---|
19 | 16 | */ |
---|
20 | 17 | |
---|
21 | 18 | /* |
---|
.. | .. |
---|
241 | 238 | /* we're not spewing, but this packet might be the start */ |
---|
242 | 239 | priv->spew_flag = MAYBE_SPEWING; |
---|
243 | 240 | |
---|
244 | | - /* fall-through */ |
---|
| 241 | + fallthrough; |
---|
245 | 242 | |
---|
246 | 243 | case MAYBE_SPEWING: |
---|
247 | 244 | priv->spew_count++; |
---|
.. | .. |
---|
252 | 249 | /* excessive spew detected, request recalibration */ |
---|
253 | 250 | priv->spew_flag = SPEW_DETECTED; |
---|
254 | 251 | |
---|
255 | | - /* fall-through */ |
---|
| 252 | + fallthrough; |
---|
256 | 253 | |
---|
257 | 254 | case SPEW_DETECTED: |
---|
258 | 255 | /* only recalibrate when the overall delta to the cursor |
---|