From: Olliver Schinagl Date: Wed, 7 Jan 2015 08:44:57 +0000 (+0100) Subject: gpio: Make the vararg hacks not pass magic values X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~124^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34541bc48eb7d7cb2ead5ff0284acf65af96f17;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed