OSDN Git Service

Documentation: gpio: remove duplicated lines
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 10 May 2019 09:03:39 +0000 (11:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 May 2019 08:28:15 +0000 (10:28 +0200)
The 'default (active high)' lines are repeated twice. Avoid people stare at
their screens looking for differences.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/consumer.rst

index 5e4d8aa..23d68c3 100644 (file)
@@ -283,8 +283,6 @@ To summarize::
   gpiod_set_value(desc, 1);          default (active high)  high
   gpiod_set_value(desc, 0);          active low             high
   gpiod_set_value(desc, 1);          active low             low
-  gpiod_set_value(desc, 0);          default (active high)  low
-  gpiod_set_value(desc, 1);          default (active high)  high
   gpiod_set_value(desc, 0);          open drain             low
   gpiod_set_value(desc, 1);          open drain             high impedance
   gpiod_set_value(desc, 0);          open source            high impedance