Skip to content

Commit

Permalink
ARM: LPC32xx: Remove spi chipselect request from board init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Pereira da Silva authored and Roland Stigge committed Jun 14, 2012
1 parent 2e0b5a3 commit c05a8b1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-lpc32xx/phy3250.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,6 @@ static void __init lpc3250_machine_init(void)
lpc32xx_auxdata_lookup, NULL);

/* Register GPIOs used on this board */
if (gpio_request(SPI0_CS_GPIO, "spi0 cs"))
printk(KERN_ERR "Error requesting gpio %u",
SPI0_CS_GPIO);
else if (gpio_direction_output(SPI0_CS_GPIO, 1))
printk(KERN_ERR "Error setting gpio %u to output",
SPI0_CS_GPIO);

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

0 comments on commit c05a8b1

Please sign in to comment.