aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>2012-06-12 10:34:28 -0400
committerRoland Stigge <stigge@antcom.de>2012-06-14 10:16:19 -0400
commitc05a8b145cb84e8101a57b6876f14cdb79fa12b8 (patch)
tree313c9d12a1ac499b5053e1ad62f71fde5fab6823
parent2e0b5a375288d624feb16b58a3af662338a63641 (diff)
ARM: LPC32xx: Remove spi chipselect request from board init
The lpc32xx spi0 chipselect will be requested directly from the pl022 driver Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Signed-off-by: Roland Stigge <stigge@antcom.de>
-rw-r--r--arch/arm/mach-lpc32xx/phy3250.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c
index 03ee3491b7cf..4ba238395be9 100644
--- a/arch/arm/mach-lpc32xx/phy3250.c
+++ b/arch/arm/mach-lpc32xx/phy3250.c
@@ -359,13 +359,6 @@ static void __init lpc3250_machine_init(void)
359 lpc32xx_auxdata_lookup, NULL); 359 lpc32xx_auxdata_lookup, NULL);
360 360
361 /* Register GPIOs used on this board */ 361 /* Register GPIOs used on this board */
362 if (gpio_request(SPI0_CS_GPIO, "spi0 cs"))
363 printk(KERN_ERR "Error requesting gpio %u",
364 SPI0_CS_GPIO);
365 else if (gpio_direction_output(SPI0_CS_GPIO, 1))
366 printk(KERN_ERR "Error setting gpio %u to output",
367 SPI0_CS_GPIO);
368
369 if (gpio_request(MMC_PWR_ENABLE_GPIO, "mmc_power_en")) 362 if (gpio_request(MMC_PWR_ENABLE_GPIO, "mmc_power_en"))
370 pr_err("Error requesting gpio %u", MMC_PWR_ENABLE_GPIO); 363 pr_err("Error requesting gpio %u", MMC_PWR_ENABLE_GPIO);
371 else if (gpio_direction_output(MMC_PWR_ENABLE_GPIO, 1)) 364 else if (gpio_direction_output(MMC_PWR_ENABLE_GPIO, 1))