summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/edt-ft5x06.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-06 15:18:24 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-11 17:26:45 -0700
commit4200e831e4a8fd09fa4e78de2e571ab270c12d06 (patch)
treeda07c4aee66dccb1613b86930637436070167f4c /drivers/input/touchscreen/edt-ft5x06.c
parent517178692ccd730a95b278bd8cd67e11498a9a84 (diff)
downloadop-kernel-dev-4200e831e4a8fd09fa4e78de2e571ab270c12d06.zip
op-kernel-dev-4200e831e4a8fd09fa4e78de2e571ab270c12d06.tar.gz
Input: of_touchscreen - switch to using device properties
Let's switch form OF to device properties so that common parsing code could work not only on device tree but also on ACPI-based platforms. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/edt-ft5x06.c')
-rw-r--r--drivers/input/touchscreen/edt-ft5x06.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 394b1de..8f8f319 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -1041,7 +1041,7 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client,
0, tsdata->num_y * 64 - 1, 0, 0);
if (!pdata)
- touchscreen_parse_of_params(input, true);
+ touchscreen_parse_properties(input, true);
error = input_mt_init_slots(input, MAX_SUPPORT_POINTS, INPUT_MT_DIRECT);
if (error) {
OpenPOWER on IntegriCloud