gpio: mockup: fix kerneldoc
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 7 Sep 2023 14:52:26 +0000 (16:52 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 11 Sep 2023 09:16:49 +0000 (11:16 +0200)
The pull field of the line state struct is undocumented. Fix it.

Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mockup.c

index b32063ac845a5073f67593c433f2fcc7694362c7..17d4d48524b74ab385563407e0f3aef5cbb014f3 100644 (file)
@@ -39,6 +39,8 @@
  * struct gpio_pin_status - structure describing a GPIO status
  * @dir:       Configures direction of gpio as "in" or "out"
  * @value:     Configures status of the gpio as 0(low) or 1(high)
+ * @pull:      Configures the current pull of the GPIO as 0 (pull-down) or
+ *             1 (pull-up)
  */
 struct gpio_mockup_line_status {
        int dir;