| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * TSC2004/TSC2005 touchscreen driver core |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Author: Lauri Leukkunen <lauri.leukkunen@nokia.com> |
|---|
| 9 | 10 | * 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. |
|---|
| 20 | 11 | */ |
|---|
| 21 | 12 | |
|---|
| 22 | 13 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 68 | 59 | .read_flag_mask = TSC200X_REG_READ, |
|---|
| 69 | 60 | .write_flag_mask = TSC200X_REG_PND0, |
|---|
| 70 | 61 | .wr_table = &tsc200x_writable_table, |
|---|
| 71 | | - .use_single_rw = true, |
|---|
| 62 | + .use_single_read = true, |
|---|
| 63 | + .use_single_write = true, |
|---|
| 72 | 64 | }; |
|---|
| 73 | 65 | EXPORT_SYMBOL_GPL(tsc200x_regmap_config); |
|---|
| 74 | 66 | |
|---|