hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/touchscreen/tsc200x-core.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * TSC2004/TSC2005 touchscreen driver core
34 *
....@@ -7,16 +8,6 @@
78 *
89 * Author: Lauri Leukkunen <lauri.leukkunen@nokia.com>
910 * based on TSC2301 driver by Klaus K. Pedersen <klaus.k.pedersen@nokia.com>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * (at your option) any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU General Public License for more details.
2011 */
2112
2213 #include <linux/kernel.h>
....@@ -68,7 +59,8 @@
6859 .read_flag_mask = TSC200X_REG_READ,
6960 .write_flag_mask = TSC200X_REG_PND0,
7061 .wr_table = &tsc200x_writable_table,
71
- .use_single_rw = true,
62
+ .use_single_read = true,
63
+ .use_single_write = true,
7264 };
7365 EXPORT_SYMBOL_GPL(tsc200x_regmap_config);
7466