ARM: 7426/1: mmc: mmci: Remove wrong error handling of gpio 0
authorRoland Stigge <stigge@antcom.de>
Sun, 17 Jun 2012 20:13:34 +0000 (21:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Jun 2012 21:24:32 +0000 (22:24 +0100)
commitf43380981716c9b48bf2809e4cd1cb0c6b71429d
treef26be38acf0128624e17c9ef225ca951e2fcbc7c
parent667d1b48bcb66b89776ebefbaf05b358bc5907ce
ARM: 7426/1: mmc: mmci: Remove wrong error handling of gpio 0

Zero is a valid GPIO and shouldn't be handled as an error return code from
of_get_named_gpio(). It was a leftover from old code before getting
pdata->gpio_*() was modified.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c