Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d34541bc authored by Olliver Schinagl's avatar Olliver Schinagl Committed by Linus Walleij
Browse files

gpio: Make the vararg hacks not pass magic values



Right now, in consumer.h, there's some vararg hacks that pass 0 as the
flags. What actually is passed however is GPIOD_ASIS, which naturally is
also 0. Using the define/enum rather then the magic 0 makes it the
define more readable to a passer by.

Signed-off-by: default avatarOlliver Schinagl <oliver@schinagl.nl>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ffe4770b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment