summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-lsxl.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-12-28 13:25:12 +0100
committerJason Cooper <jason@lakedaemon.net>2013-05-26 01:12:34 +0000
commit391a16c7783a64309dc930c6d454372d7a8beb12 (patch)
tree544ab00836f330ee774b33bec05d78e15c381f7f /arch/arm/mach-kirkwood/board-lsxl.c
parent4350a47bbac3f90c724d565d7b895262f454d0c3 (diff)
downloadop-kernel-dev-391a16c7783a64309dc930c6d454372d7a8beb12.zip
op-kernel-dev-391a16c7783a64309dc930c6d454372d7a8beb12.tar.gz
ARM: Kirkwood: Convert LSXL to restart-poweroff driver.
Add a device tree node and remove the C code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Michael Walle <michael@walle.cc> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-lsxl.c')
-rw-r--r--arch/arm/mach-kirkwood/board-lsxl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-kirkwood/board-lsxl.c b/arch/arm/mach-kirkwood/board-lsxl.c
index 4ec8b7a..3483952 100644
--- a/arch/arm/mach-kirkwood/board-lsxl.c
+++ b/arch/arm/mach-kirkwood/board-lsxl.c
@@ -25,19 +25,6 @@ static struct mv643xx_eth_platform_data lsxl_ge01_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(8),
};
-/*
- * On the LS-XHL/LS-CHLv2, the shutdown process is following:
- * - Userland monitors key events until the power switch goes to off position
- * - The board reboots
- * - U-boot starts and goes into an idle mode waiting for the user
- * to move the switch to ON position
- *
- */
-static void lsxl_power_off(void)
-{
- kirkwood_restart('h', NULL);
-}
-
void __init lsxl_init(void)
{
/*
@@ -46,7 +33,4 @@ void __init lsxl_init(void)
kirkwood_ge00_init(&lsxl_ge00_data);
kirkwood_ge01_init(&lsxl_ge01_data);
-
- /* register power-off method */
- pm_power_off = lsxl_power_off;
}
OpenPOWER on IntegriCloud