summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/resistive-adc-touch.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-09 07:32:32 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-11-09 07:33:52 +0100
commit136feb4cf3b3ea9ea07d210805911a60e85a2d0d (patch)
tree2403443943ff309112bd8e9f22c7ba9b5ebf46d2 /drivers/input/touchscreen/resistive-adc-touch.c
parentInput: analog - fix formatting of error code (diff)
downloadlinux-136feb4cf3b3ea9ea07d210805911a60e85a2d0d.tar.xz
linux-136feb4cf3b3ea9ea07d210805911a60e85a2d0d.zip
Input: resistive-adc-touch - struct headers should start with 'struct <name>'
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/resistive-adc-touch.c:34: warning: cannot understand function prototype: 'struct grts_state ' Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20201104162427.2984742-10-lee.jones@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/resistive-adc-touch.c')
-rw-r--r--drivers/input/touchscreen/resistive-adc-touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/resistive-adc-touch.c b/drivers/input/touchscreen/resistive-adc-touch.c
index cfc8bb4553f7..e50af30183f4 100644
--- a/drivers/input/touchscreen/resistive-adc-touch.c
+++ b/drivers/input/touchscreen/resistive-adc-touch.c
@@ -23,7 +23,7 @@
#define GRTS_MAX_POS_MASK GENMASK(11, 0)
/**
- * grts_state - generic resistive touch screen information struct
+ * struct grts_state - generic resistive touch screen information struct
* @pressure_min: number representing the minimum for the pressure
* @pressure: are we getting pressure info or not
* @iio_chans: list of channels acquired