aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-ib62x0.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-11-17 09:51:06 +0100
committerJason Cooper <jason@lakedaemon.net>2012-11-24 02:56:49 +0000
commit2104035214b51d007db7e040906550eb608aaa44 (patch)
treeedd251a74ad888986ad5b9cd509895c65a6a053a /arch/arm/mach-kirkwood/board-ib62x0.c
parentARM: Kirkwood: Convert DNSKW to use gpio-poweroff. (diff)
downloadlinux-dev-2104035214b51d007db7e040906550eb608aaa44.tar.xz
linux-dev-2104035214b51d007db7e040906550eb608aaa44.zip
ARM: Kirkwood: Convert IB62x0 to use gpio-poweroff.
Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-ib62x0.c')
-rw-r--r--arch/arm/mach-kirkwood/board-ib62x0.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-kirkwood/board-ib62x0.c b/arch/arm/mach-kirkwood/board-ib62x0.c
index db08e379a40a..2a58b4fc453b 100644
--- a/arch/arm/mach-kirkwood/board-ib62x0.c
+++ b/arch/arm/mach-kirkwood/board-ib62x0.c
@@ -17,7 +17,6 @@
#include <linux/mtd/partitions.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
-#include <linux/gpio.h>
#include <linux/input.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -25,8 +24,6 @@
#include "common.h"
#include "mpp.h"
-#define IB62X0_GPIO_POWER_OFF 24
-
static struct mv643xx_eth_platform_data ib62x0_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(8),
};
@@ -49,11 +46,6 @@ static unsigned int ib62x0_mpp_config[] __initdata = {
0
};
-static void ib62x0_power_off(void)
-{
- gpio_set_value(IB62X0_GPIO_POWER_OFF, 1);
-}
-
void __init ib62x0_init(void)
{
/*
@@ -62,9 +54,4 @@ void __init ib62x0_init(void)
kirkwood_mpp_conf(ib62x0_mpp_config);
kirkwood_ge00_init(&ib62x0_ge00_data);
- if (gpio_request(IB62X0_GPIO_POWER_OFF, "ib62x0:power:off") == 0 &&
- gpio_direction_output(IB62X0_GPIO_POWER_OFF, 0) == 0)
- pm_power_off = ib62x0_power_off;
- else
- pr_err("board-ib62x0: failed to configure power-off GPIO\n");
}