diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2017-02-23 10:49:02 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-23 10:55:07 +0300 |
commit | deec586d4fcbc14a262f8b887543abcb1c64af98 (patch) | |
tree | 643340c8ea7dc04fcc16a216ccabfcd452fdac4e /drivers/input/touchscreen/tsc2007_iio.c | |
parent | c61ebe83e7fba0ad4d88dc114121cf8ff7ca8d47 (diff) | |
download | linux-deec586d4fcbc14a262f8b887543abcb1c64af98.tar.xz |
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 <hns@goldelico.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/tsc2007_iio.c')
-rw-r--r-- | drivers/input/touchscreen/tsc2007_iio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |