summaryrefslogtreecommitdiff
path: root/arch/arm/mach-lpc32xx/phy3250.c
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-09-06 11:39:29 +0200
committerRoland Stigge <stigge@antcom.de>2012-09-06 11:39:29 +0200
commit7a5deff68f9e0a1db170ac9dd3b2b4aaddc1b80c (patch)
tree6c705504c0969b0258e974ca80831d50dd6a6af6 /arch/arm/mach-lpc32xx/phy3250.c
parent5b941238fe1a0b015ff6519a6287ce1eae4fb8c9 (diff)
ARM: LPC32xx: Remove board specific GPIO init
This patch removes a board specific GPIO initialization (for MMC power) from the platform initialization. On the reference boards (PHY3250 and EA3250), this separate initialization is not necessary, now reducing board specific initialization in the platform init of phy3250.c. Signed-off-by: Roland Stigge <stigge@antcom.de>
Diffstat (limited to 'arch/arm/mach-lpc32xx/phy3250.c')
-rw-r--r--arch/arm/mach-lpc32xx/phy3250.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c
index a4a43b3684ef..8f2a2f8712d7 100644
--- a/arch/arm/mach-lpc32xx/phy3250.c
+++ b/arch/arm/mach-lpc32xx/phy3250.c
@@ -267,12 +267,6 @@ static void __init lpc3250_machine_init(void)
of_platform_populate(NULL, of_default_bus_match_table,
lpc32xx_auxdata_lookup, NULL);
-
- /* Register GPIOs used on this board */
- if (gpio_request(MMC_PWR_ENABLE_GPIO, "mmc_power_en"))
- pr_err("Error requesting gpio %u", MMC_PWR_ENABLE_GPIO);
- else if (gpio_direction_output(MMC_PWR_ENABLE_GPIO, 1))
- pr_err("Error setting gpio %u to output", MMC_PWR_ENABLE_GPIO);
}
static char const *lpc32xx_dt_compat[] __initdata = {