OpenCloudOS-Kernel/include/linux/gpio
Olliver Schinagl d34541bc48 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: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-01-15 17:23:22 +01:00
..
consumer.h gpio: Make the vararg hacks not pass magic values 2015-01-15 17:23:22 +01:00
driver.h gpiolib: allow simultaneous setting of multiple GPIO outputs 2014-11-27 15:01:18 +01:00
machine.h gpio: add missing includes in machine.h 2014-08-07 11:54:51 +02:00