From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> This is another batch of improvements to libgpiod before we overhaul the data structure model. The last patch adds the kernel uapi header to the repository so that we no longer depend on its presence on the host system. Bartosz Golaszewski (6): treewide: remove helpers for opening chips by name & number treewide: simplify the active-low line property treewide: rename BIAS_AS_IS to BIAS_NONE treewide: make drive settings an enum bindings: cxx: line: reorder bias mapping entries core: add the kernel uapi header to the repository bindings/cxx/chip.cpp | 41 +- bindings/cxx/examples/gpioinfocxx.cpp | 3 +- bindings/cxx/gpiod.hpp | 57 +-- bindings/cxx/line.cpp | 28 +- bindings/cxx/tests/tests-chip.cpp | 97 +---- bindings/cxx/tests/tests-event.cpp | 14 +- bindings/cxx/tests/tests-iter.cpp | 2 +- bindings/cxx/tests/tests-line.cpp | 93 ++--- bindings/python/examples/gpioinfo.py | 4 +- bindings/python/gpiodmodule.c | 167 +++----- bindings/python/tests/gpiod_py_test.py | 173 ++++---- configure.ac | 12 +- include/gpiod.h | 65 +-- lib/Makefile.am | 2 +- lib/core.c | 29 +- lib/helpers.c | 57 --- lib/uapi/gpio.h | 522 +++++++++++++++++++++++++ tests/tests-chip.c | 41 -- tests/tests-line.c | 100 ++--- tools/gpiodetect.c | 2 +- tools/gpiofind.c | 2 +- tools/gpioget.c | 2 +- tools/gpioinfo.c | 28 +- tools/gpiomon.c | 2 +- tools/gpioset.c | 2 +- tools/tools-common.c | 57 +++ tools/tools-common.h | 3 + 27 files changed, 903 insertions(+), 702 deletions(-) create mode 100644 lib/uapi/gpio.h -- 2.29.1