Input: nomadik-ske-keypad - provide some missing struct member docs
authorLee Jones <lee.jones@linaro.org>
Mon, 9 Nov 2020 06:17:31 +0000 (22:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Nov 2020 06:19:53 +0000 (22:19 -0800)
Fixes the following W=1 kernel build warning(s):

 drivers/input/keyboard/nomadik-ske-keypad.c:71: warning: Function parameter or member 'pclk' not described in 'ske_keypad'
 drivers/input/keyboard/nomadik-ske-keypad.c:71: warning: Function parameter or member 'ske_keypad_lock' not described in 'ske_keypad'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104162427.2984742-20-lee.jones@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/nomadik-ske-keypad.c

index 608446e14614d85937b1de4294bd0537dcae4da3..0d55a95347f1652e441f7d316365fe500dd098c9 100644 (file)
@@ -58,6 +58,8 @@
  * @board:     keypad platform device
  * @keymap:    matrix scan code table for keycodes
  * @clk:       clock structure pointer
+ * @pclk:      clock structure pointer
+ * @ske_keypad_lock: spinlock protecting the keypad read/writes
  */
 struct ske_keypad {
        int irq;