* [libgpiod][PATCH] doc: fix comment mix up in gpiod.h
@ 2020-05-27 1:10 Kent Gibson
2020-05-27 12:07 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Kent Gibson @ 2020-05-27 1:10 UTC (permalink / raw)
To: linux-gpio, bgolaszewski; +Cc: Kent Gibson
A couple of the doc comments for GPIOD_LINE_REQUEST_XX values
document the wrong value.
Switch them so that they document the appropriate value.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
include/gpiod.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/gpiod.h b/include/gpiod.h
index 3af97c4..f03ce95 100644
--- a/include/gpiod.h
+++ b/include/gpiod.h
@@ -956,11 +956,11 @@ enum {
GPIOD_LINE_REQUEST_DIRECTION_OUTPUT,
/**< Request the line(s) for setting the GPIO line state. */
GPIOD_LINE_REQUEST_EVENT_FALLING_EDGE,
- /**< Monitor both types of events. */
+ /**< Only watch falling edge events. */
GPIOD_LINE_REQUEST_EVENT_RISING_EDGE,
/**< Only watch rising edge events. */
GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES,
- /**< Only watch falling edge events. */
+ /**< Monitor both types of events. */
};
/**
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libgpiod][PATCH] doc: fix comment mix up in gpiod.h
2020-05-27 1:10 [libgpiod][PATCH] doc: fix comment mix up in gpiod.h Kent Gibson
@ 2020-05-27 12:07 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2020-05-27 12:07 UTC (permalink / raw)
To: Kent Gibson; +Cc: linux-gpio
śr., 27 maj 2020 o 03:11 Kent Gibson <warthog618@gmail.com> napisał(a):
>
> A couple of the doc comments for GPIOD_LINE_REQUEST_XX values
> document the wrong value.
> Switch them so that they document the appropriate value.
>
> Signed-off-by: Kent Gibson <warthog618@gmail.com>
> ---
> include/gpiod.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/gpiod.h b/include/gpiod.h
> index 3af97c4..f03ce95 100644
> --- a/include/gpiod.h
> +++ b/include/gpiod.h
> @@ -956,11 +956,11 @@ enum {
> GPIOD_LINE_REQUEST_DIRECTION_OUTPUT,
> /**< Request the line(s) for setting the GPIO line state. */
> GPIOD_LINE_REQUEST_EVENT_FALLING_EDGE,
> - /**< Monitor both types of events. */
> + /**< Only watch falling edge events. */
> GPIOD_LINE_REQUEST_EVENT_RISING_EDGE,
> /**< Only watch rising edge events. */
> GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES,
> - /**< Only watch falling edge events. */
> + /**< Monitor both types of events. */
> };
>
> /**
> --
> 2.26.2
>
Applied, thanks!
Bartosz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-27 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 1:10 [libgpiod][PATCH] doc: fix comment mix up in gpiod.h Kent Gibson
2020-05-27 12:07 ` Bartosz Golaszewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.