core: remove the active_low boolean argument from single-line requests
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 12 Jul 2017 18:37:43 +0000 (20:37 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 12 Jul 2017 18:41:09 +0000 (20:41 +0200)
commit47d97c70accb769b7a7a96c549004da77d31b53c
tree816db851f817657b772dd3b3dcf4b821eba3f426
parent8e164e9926eb32f16382b5235bca550aff570648
core: remove the active_low boolean argument from single-line requests

Remove the separate argument for setting the active-state to low in
helper functions doing the single GPIO line requests.

Introduce new variants of these helpers that allow to pass
a combination of all available flags to the request.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
include/gpiod.h
src/lib/core.c
src/lib/simple.c
tests/tests-event.c
tests/tests-gpioinfo.c
tests/tests-line.c