From deec586d4fcbc14a262f8b887543abcb1c64af98 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Wed, 22 Feb 2017 23:49:02 -0800 Subject: Input: tsc2007 - rename function tsc2007_calculate_pressure Rename tsc2007_calculate_pressure to tsc2007_calculate_resistance because that is what it does. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/tsc2007_iio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/input/touchscreen/tsc2007_iio.c') diff --git a/drivers/input/touchscreen/tsc2007_iio.c b/drivers/input/touchscreen/tsc2007_iio.c index 0ec3f28d0457..27b25a9fce83 100644 --- a/drivers/input/touchscreen/tsc2007_iio.c +++ b/drivers/input/touchscreen/tsc2007_iio.c @@ -76,7 +76,7 @@ static int tsc2007_read_raw(struct iio_dev *indio_dev, tc.x = tsc2007_xfer(tsc, READ_X); tc.z1 = tsc2007_xfer(tsc, READ_Z1); tc.z2 = tsc2007_xfer(tsc, READ_Z2); - *val = tsc2007_calculate_pressure(tsc, &tc); + *val = tsc2007_calculate_resistance(tsc, &tc); break; } case 6: -- cgit v1.2.3