summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2007.h
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2017-02-22 23:49:02 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-22 23:55:07 -0800
commitdeec586d4fcbc14a262f8b887543abcb1c64af98 (patch)
tree643340c8ea7dc04fcc16a216ccabfcd452fdac4e /drivers/input/touchscreen/tsc2007.h
parentc61ebe83e7fba0ad4d88dc114121cf8ff7ca8d47 (diff)
downloadlinux-stable-deec586d4fcbc14a262f8b887543abcb1c64af98.tar.gz
linux-stable-deec586d4fcbc14a262f8b887543abcb1c64af98.tar.bz2
linux-stable-deec586d4fcbc14a262f8b887543abcb1c64af98.zip
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.h')
-rw-r--r--drivers/input/touchscreen/tsc2007.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/tsc2007.h b/drivers/input/touchscreen/tsc2007.h
index 474bd29d6242..30fdf5b04a6b 100644
--- a/drivers/input/touchscreen/tsc2007.h
+++ b/drivers/input/touchscreen/tsc2007.h
@@ -85,8 +85,7 @@ struct tsc2007 {
};
int tsc2007_xfer(struct tsc2007 *tsc, u8 cmd);
-u32 tsc2007_calculate_pressure(struct tsc2007 *tsc,
- struct ts_event *tc);
+u32 tsc2007_calculate_resistance(struct tsc2007 *tsc, struct ts_event *tc);
bool tsc2007_is_pen_down(struct tsc2007 *ts);
#if IS_ENABLED(CONFIG_TOUCHSCREEN_TSC2007_IIO)