diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-08-27 13:00:50 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 14:25:14 +0200 |
commit | 9fbc695075e905b9201100860eacac6349db6644 (patch) | |
tree | 3cfecf3becf2d80be974cb22626e323be4cfbb21 /include/linux/mmc | |
parent | f5b4d71f72c5f08c2e1d0af68ef881f85537e7a1 (diff) | |
download | blackbird-obmc-linux-9fbc695075e905b9201100860eacac6349db6644.tar.gz blackbird-obmc-linux-9fbc695075e905b9201100860eacac6349db6644.zip |
mmc: slot-gpio: switch to use flags when getting GPIO
When the slot GPIO driver gets the GPIO to be used for card
detect, it is now possible to specify a flag to have the line
set up as input. Get rid of the explicit setup call for input
and use the flag.
The extra argument works as there are transition varargs
macros in place in the <linux/gpio/consumer.h> header, in
the future we will make the flags argument compulsory.
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions