summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2021-01-19 14:57:27 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-02-15 11:43:29 +0100
commitf61d3f0c6912c54f6a468318907a5c554e116516 (patch)
tree8422938546c5b22d66d301778a5f8317a3afd311 /include
parentselftests: gpio: add CONFIG_GPIO_CDEV to config (diff)
downloadlinux-f61d3f0c6912c54f6a468318907a5c554e116516.tar.xz
linux-f61d3f0c6912c54f6a468318907a5c554e116516.zip
gpio: uapi: fix line info flags description
The description of the flags field of the struct gpio_v2_line_info mentions "the GPIO lines" while the info only applies to an individual GPIO line. This was accidentally changed from "the GPIO line" during formatting improvements. Reword to "this GPIO line" to clarify and to be consistent with other struct gpio_v2_line_info fields. Fixes: 2cc522d3931b ("gpio: uapi: kernel-doc formatting improvements") Signed-off-by: Kent Gibson <warthog618@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h
index e4eb0b8c5cf9..7a6f7948a7df 100644
--- a/include/uapi/linux/gpio.h
+++ b/include/uapi/linux/gpio.h
@@ -212,7 +212,7 @@ struct gpio_v2_line_request {
* @offset: the local offset on this GPIO chip, fill this in when
* requesting the line information from the kernel
* @num_attrs: the number of attributes in @attrs
- * @flags: flags for the GPIO lines, with values from &enum
+ * @flags: flags for this GPIO line, with values from &enum
* gpio_v2_line_flag, such as %GPIO_V2_LINE_FLAG_ACTIVE_LOW,
* %GPIO_V2_LINE_FLAG_OUTPUT etc, added together.
* @attrs: the configuration attributes associated with the line