doc: fix comment mix up in gpiod.h
authorKent Gibson <warthog618@gmail.com>
Wed, 27 May 2020 01:10:55 +0000 (09:10 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 27 May 2020 12:05:59 +0000 (14:05 +0200)
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>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/gpiod.h

index 3af97c44fbd115f42088813cd83184945bf1276f..f03ce95798a1a3555dcbd2daacad7ed610df50f9 100644 (file)
@@ -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. */
 };
 
 /**