summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-03 15:41:56 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-08-25 16:25:38 +0200
commit4ae9ccf2fab87aaf9e0e906ba85675be020f6948 (patch)
tree37ff816d2451741177b9d78d9dd6c091b084a45e
parent75ddf376d1aeac04688efc5c806f8a4baa995474 (diff)
downloadlinux-4ae9ccf2fab87aaf9e0e906ba85675be020f6948.tar.bz2
ARM: at91: Remove poweroff code
Now that all the SoC have been converted to use the new poweroff driver, we can remove the poweroff code defined in mach-at91. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/mach-at91/setup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 6fe03f31d3d2..a46df6759c92 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -322,17 +322,11 @@ void __init at91_map_io(void)
void __iomem *at91_shdwc_base = NULL;
-static void at91sam9_poweroff(void)
-{
- at91_shdwc_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW);
-}
-
void __init at91_ioremap_shdwc(u32 base_addr)
{
at91_shdwc_base = ioremap(base_addr, 16);
if (!at91_shdwc_base)
panic(pr_fmt("Impossible to ioremap at91_shdwc_base\n"));
- pm_power_off = at91sam9_poweroff;
}
void __iomem *at91_rstc_base;