mmc: cavium-octeon: Use proper GPIO name for power control
authorDavid Daney <david.daney@cavium.com>
Tue, 16 May 2017 09:36:52 +0000 (11:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 19 May 2017 07:17:44 +0000 (09:17 +0200)
commit899e4aad15e93315fa18ab9e9c88904ad237cfa0
tree6330aabb2ca917e7b78859b4f66781d1d67005dd
parentaca69344c8a99e7374d913e42ba9120c398ee16f
mmc: cavium-octeon: Use proper GPIO name for power control

The devm_gpiod_get_optional() function appends a "-gpios" to the
string passed to it, so if we want to find the "power-gpios" signal,
we must pass "power" to this function.

Fixes: 01d95843335c ("mmc: cavium: Add MMC support for Octeon SOCs.")
Signed-off-by: David Daney <david.daney@cavium.com>
[jglauber@cavium.com: removed point after subject line]
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium-octeon.c