From: Eric Bénard Date: Tue, 8 May 2012 07:20:25 +0000 (+0200) Subject: ARM: imx: eukrea_mbimxsd25: don't free twice GPIO_SWITCH1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee5dd09138e137708f122c3f982a10442cece70d;p=linux-beck.git ARM: imx: eukrea_mbimxsd25: don't free twice GPIO_SWITCH1 Signed-off-by: Eric Bénard Cc: Sascha Hauer Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c b/arch/arm/mach-imx/eukrea_mbimxsd25-baseboard.c index cafa1092d8aa..fcc366ae9598 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));