diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-07 16:52:26 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-11 11:16:49 +0200 |
commit | 8d5e2db297d1430ec8efbdf6bff53cc52ef11f52 (patch) | |
tree | 24e4dcebc280cd40e17f1f0c0b1f2548e31bb170 /drivers | |
parent | 3d15d17fc3deb33b684032925805df75b878db92 (diff) | |
download | linux-stable-8d5e2db297d1430ec8efbdf6bff53cc52ef11f52.tar.gz linux-stable-8d5e2db297d1430ec8efbdf6bff53cc52ef11f52.tar.bz2 linux-stable-8d5e2db297d1430ec8efbdf6bff53cc52ef11f52.zip |
gpio: mockup: fix kerneldoc
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-mockup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index b32063ac845a..17d4d48524b7 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -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; |