Patchwork [10/12] ARM: imx: eukrea_mbimxsd25: don't free twice GPIO_SWITCH1

login
register
mail settings
Submitter Eric Benard
Date May 8, 2012, 7:20 a.m.
Message ID <1336461627-30315-10-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/157575/
State New
Headers show

Comments

Eric Benard - May 8, 2012, 7:20 a.m.
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
---
 arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c
index cafa109..fcc366a 100644
--- a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c
+++ b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c
@@ -292,7 +292,6 @@  void __init eukrea_mbimxsd25_baseboard_init(void)
 
 	gpio_request(GPIO_LCDPWR, "LCDPWR");
 	gpio_direction_output(GPIO_LCDPWR, 1);
-	gpio_free(GPIO_SWITCH1);
 
 	i2c_register_board_info(0, eukrea_mbimxsd_i2c_devices,
 				ARRAY_SIZE(eukrea_mbimxsd_i2c_devices));