.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 1999-2001 Vojtech Pavlik |
---|
3 | 4 | */ |
---|
.. | .. |
---|
7 | 8 | */ |
---|
8 | 9 | |
---|
9 | 10 | /* |
---|
10 | | - * This program is free software; you can redistribute it and/or modify |
---|
11 | | - * it under the terms of the GNU General Public License as published by |
---|
12 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
13 | | - * (at your option) any later version. |
---|
14 | | - * |
---|
15 | | - * This program is distributed in the hope that it will be useful, |
---|
16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
18 | | - * GNU General Public License for more details. |
---|
19 | | - * |
---|
20 | | - * You should have received a copy of the GNU General Public License |
---|
21 | | - * along with this program; if not, write to the Free Software |
---|
22 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
23 | 11 | */ |
---|
24 | 12 | |
---|
25 | 13 | #include <linux/delay.h> |
---|
.. | .. |
---|
140 | 128 | |
---|
141 | 129 | case SERIO_MS: |
---|
142 | 130 | sermouse->type = SERIO_MP; |
---|
143 | | - /* fall through */ |
---|
| 131 | + fallthrough; |
---|
144 | 132 | |
---|
145 | 133 | case SERIO_MP: |
---|
146 | 134 | if ((data >> 2) & 3) break; /* M++ Wireless Extension packet. */ |
---|
.. | .. |
---|
151 | 139 | case SERIO_MZP: |
---|
152 | 140 | case SERIO_MZPP: |
---|
153 | 141 | input_report_key(dev, BTN_SIDE, (data >> 5) & 1); |
---|
154 | | - /* fall through */ |
---|
| 142 | + fallthrough; |
---|
155 | 143 | |
---|
156 | 144 | case SERIO_MZ: |
---|
157 | 145 | input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1); |
---|