git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe4770
)
gpio: Make the vararg hacks not pass magic values
author
Olliver Schinagl
<oliver@schinagl.nl>
Wed, 7 Jan 2015 08:44:57 +0000
(09:44 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:22 +0000
(17:23 +0100)
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>
include/linux/gpio/consumer.h
patch
|
blob
|
history
diff --cc
include/linux/gpio/consumer.h
Simple merge