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)
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>

No differences found