diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2017-02-22 23:49:02 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-22 23:55:07 -0800 |
commit | deec586d4fcbc14a262f8b887543abcb1c64af98 (patch) | |
tree | 643340c8ea7dc04fcc16a216ccabfcd452fdac4e /drivers/input/touchscreen/tsc2007.h | |
parent | c61ebe83e7fba0ad4d88dc114121cf8ff7ca8d47 (diff) | |
download | lwn-deec586d4fcbc14a262f8b887543abcb1c64af98.tar.gz lwn-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.h | 3 |
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) |