treewide: rename BIAS_AS_IS to BIAS_UNKNOWN
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 17 Dec 2020 13:23:59 +0000 (14:23 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 19 Jan 2021 09:49:15 +0000 (10:49 +0100)
commitaee8a15625089d185fcff8fa15a97291aa72dad3
tree9b79e24b21cd4e9b6a87c477b921658a1efb2efe
parentd2a70828f8ab08b80b374cf37ec4e1875aac30fd
treewide: rename BIAS_AS_IS to BIAS_UNKNOWN

When inspecting the current bias setting of a GPIO line, the AS_IS name
of one of the possible values really means that the kernel GPIO subsystem
can't determine the bias setting because it didn't set it itself (e.g.
the hardware may have internally initialized pull-up or pull-down
resistors). In this case it's better to change the name to BIAS_UNKNOWN
to reflect that.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
bindings/cxx/gpiod.hpp
bindings/cxx/line.cpp
bindings/cxx/tests/tests-line.cpp
bindings/python/gpiodmodule.c
bindings/python/tests/gpiod_py_test.py
include/gpiod.h
lib/core.c
tests/tests-line.c