OSDN Git Service

gpio: uapi: comment consistency
authorKent Gibson <warthog618@gmail.com>
Mon, 5 Oct 2020 07:03:26 +0000 (15:03 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Oct 2020 14:46:47 +0000 (15:46 +0100)
Make debounce_period_us field documentation consistent with other fields
in the union.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20201005070329.21055-3-warthog618@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/uapi/linux/gpio.h

index b0d5e7a..1fdb0e8 100644 (file)
@@ -98,7 +98,7 @@ struct gpio_v2_line_values {
  * identifying which field of the attribute union is in use.
  * @GPIO_V2_LINE_ATTR_ID_FLAGS: flags field is in use
  * @GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES: values field is in use
- * @GPIO_V2_LINE_ATTR_ID_DEBOUNCE: debounce_period_us is in use
+ * @GPIO_V2_LINE_ATTR_ID_DEBOUNCE: debounce_period_us field is in use
  */
 enum gpio_v2_line_attr_id {
        GPIO_V2_LINE_ATTR_ID_FLAGS              = 1,