hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/input/mouse/appletouch.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Apple USB Touchpad (for post-February 2005 PowerBooks and MacBooks) driver
34 *
....@@ -11,21 +12,6 @@
1112 * Copyright (C) 2007-2008 Sven Anders (anders@anduras.de)
1213 *
1314 * Thanks to Alex Harper <basilisk@foobox.net> for his inputs.
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License as published by
17
- * the Free Software Foundation; either version 2 of the License, or
18
- * (at your option) any later version.
19
- *
20
- * This program is distributed in the hope that it will be useful,
21
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- * GNU General Public License for more details.
24
- *
25
- * You should have received a copy of the GNU General Public License
26
- * along with this program; if not, write to the Free Software
27
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28
- *
2915 */
3016
3117 #include <linux/kernel.h>
....@@ -472,7 +458,7 @@
472458 dev->info->datalen, dev->urb->actual_length);
473459 dev->overflow_warned = true;
474460 }
475
- /* fall through */
461
+ fallthrough;
476462 case -ECONNRESET:
477463 case -ENOENT:
478464 case -ESHUTDOWN: