hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/input/mouse/sentelic.c
....@@ -1,22 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*-
23 * Finger Sensing Pad PS/2 mouse driver.
34 *
45 * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd.
56 * Copyright (C) 2005-2012 Tai-hwa Liang, Sentelic Corporation.
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version 2
10
- * of the License, or (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
207 */
218
229 #include <linux/module.h>
....@@ -807,7 +794,7 @@
807794 /* on-pad click, filter it if necessary */
808795 if ((ad->flags & FSPDRV_FLAG_EN_OPC) != FSPDRV_FLAG_EN_OPC)
809796 packet[0] &= ~FSP_PB0_LBTN;
810
- /* fall through */
797
+ fallthrough;
811798
812799 case FSP_PKT_TYPE_NORMAL:
813800 /* normal packet */