gpio: uapi: clarify default_values being logical
authorKent Gibson <warthog618@gmail.com>
Sun, 11 Feb 2024 10:14:21 +0000 (18:14 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 15 Feb 2024 07:44:57 +0000 (08:44 +0100)
commit8ff0d55ba3fb56b69e40c50ff030a77c27a072ca
tree9811ca57433cae114d7dde2d34eb906e01ac27ce
parentbe91c19e47d1b9bf1ebd7ec4a859a50a53e54882
gpio: uapi: clarify default_values being logical

The documentation for default_values mentions high/low which can be
confusing, particularly when the ACTIVE_LOW flag is set.

Replace high/low with active/inactive to clarify that the values are
logical not physical.

Similarly, clarify the interpretation of values in struct gpiohandle_data.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/uapi/linux/gpio.h