Input: resistive-adc-touch - struct headers should start with 'struct <name>'
authorLee Jones <lee.jones@linaro.org>
Mon, 9 Nov 2020 06:32:32 +0000 (22:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Nov 2020 06:33:52 +0000 (22:33 -0800)
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>
drivers/input/touchscreen/resistive-adc-touch.c

index cfc8bb4553f78fe3de549ec68ae0697d7bdaf397..e50af30183f4e6ebbbc2a0d40323d47e974fbaec 100644 (file)
@@ -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