]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit012b9e0f9033bbeda785c9b45cd58adc1c0baef2
tree27d1587f2eb3f1da3ab8f76272f3181937c3cb6c
parent76b190817a985f0004481552f14601efc7eb0d7c
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