core: merge the direction argument into flags for request routines
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 3 Jan 2017 17:20:09 +0000 (18:20 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 3 Jan 2017 17:20:09 +0000 (18:20 +0100)
commitf7e148d11c939dac8057ea497a9f5d922c70e4e8
treeab3950f8624e26752a49abb58886d648bdc0363a
parent65cc3e18abb6cac3f185cf30b80425feebaf5a12
core: merge the direction argument into flags for request routines

There's no reason to keep the direction as a separate argument if we
have polarity configured using the flags argument. We have separate
routines for input/output requests anyway.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
core.c
gpiod.h