summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2015-01-07 09:44:57 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-01-15 17:23:22 +0100
commitd34541bc48eb7d7cb2ead5ff0284acf65af96f17 (patch)
treee960329aee7dd8a903d88db61bb488a75c6a9050 /drivers/gpio/gpiolib.c
parentffe4770b9b3483f74bccd0566fd1013ddc1b6d6b (diff)
downloadlinux-d34541bc48eb7d7cb2ead5ff0284acf65af96f17.tar.bz2
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>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions