mmc: pwrseq: use gpiod_get() instead of index 0
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 14 Sep 2015 12:00:35 +0000 (14:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 14:59:55 +0000 (15:59 +0100)
commita30b55119d086d33bd6046dfdd4723c810fd2579
tree27d1587f2eb3f1da3ab8f76272f3181937c3cb6c
parentf90d2e4035d456cb20c0b784725d556eb4de4d8a
mmc: pwrseq: use gpiod_get() instead of index 0

The gpiod_get() function expands to gpiod_get_index() with index 0
so it's better to use it since is easier to read and more concise.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/pwrseq_emmc.c