gpiosim: rename HOG_DIR to DIRECTION
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 7 Dec 2022 08:53:28 +0000 (09:53 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 7 Dec 2022 08:53:28 +0000 (09:53 +0100)
commit0acc1fb29e6fe779bfc10553eace914dc4c82e22
tree25163ac66d81966bdafdd0ed98c42c1973ec13f3
parent1226f2174598f2c635018500cf07be1fc6da1d32
gpiosim: rename HOG_DIR to DIRECTION

The enum itself should just define direction settings, it's the functions
that use it that should refer to hogging.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
12 files changed:
bindings/cxx/tests/gpiosim.cpp
bindings/cxx/tests/gpiosim.hpp
bindings/cxx/tests/tests-line-info.cpp
bindings/python/tests/gpiosim/ext.c
bindings/rust/gpiosim-sys/src/lib.rs
tests/gpiod-test-helpers.h
tests/gpiod-test-sim.c
tests/gpiod-test-sim.h
tests/gpiosim/gpiosim-selftest.c
tests/gpiosim/gpiosim.c
tests/gpiosim/gpiosim.h
tests/tests-line-info.c