hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/touchscreen/ar1021_i2c.c
....@@ -1,9 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Microchip AR1020 and AR1021 driver for I2C
34 *
45 * Author: Christian Gmeiner <christian.gmeiner@gmail.com>
5
- *
6
- * License: GPLv2 as published by the FSF.
76 */
87
98 #include <linux/bitops.h>
....@@ -14,7 +13,7 @@
1413 #include <linux/irq.h>
1514 #include <linux/interrupt.h>
1615
17
-#define AR1021_TOCUH_PKG_SIZE 5
16
+#define AR1021_TOUCH_PKG_SIZE 5
1817
1918 #define AR1021_MAX_X 4095
2019 #define AR1021_MAX_Y 4095
....@@ -26,7 +25,7 @@
2625 struct ar1021_i2c {
2726 struct i2c_client *client;
2827 struct input_dev *input;
29
- u8 data[AR1021_TOCUH_PKG_SIZE];
28
+ u8 data[AR1021_TOUCH_PKG_SIZE];
3029 };
3130
3231 static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)