ARM: 7620/1: mmc: mmci: Convert to use mmc_regulator_get_supply
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Jan 2013 15:22:50 +0000 (16:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 Jan 2013 16:32:44 +0000 (16:32 +0000)
commit599c1d5c750ddf528c7c6d3cdc466708f0502e66
tree8fed8710c6b6e9160545ec28f320a3871d1c6f05
parent70be208f0bd75eb81264f681e36485d0617d612f
ARM: 7620/1: mmc: mmci: Convert to use mmc_regulator_get_supply

By using the mmc_regulator_get_supply API we are able to do some
cleanups of the regulator code. Additionally let the regulator
API handle the error printing.

Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h