hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/input/touchscreen/max11801_ts.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Driver for MAXI MAX11801 - A Resistive touch screen controller with
34 * i2c interface
....@@ -6,11 +7,6 @@
67 * Author: Zhang Jiejing <jiejing.zhang@freescale.com>
78 *
89 * Based on mcs5000_ts.c
9
- *
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.
1410 */
1511
1612 /*
....@@ -134,7 +130,6 @@
134130
135131 switch (buf[1] & EVENT_TAG_MASK) {
136132 case EVENT_INIT:
137
- /* fall through */
138133 case EVENT_MIDDLE:
139134 input_report_abs(data->input_dev, ABS_X, x);
140135 input_report_abs(data->input_dev, ABS_Y, y);