From 71413bb976cea742def2731cbb0e6ac75e8ffcc8 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 13 Sep 2016 14:43:02 +0100 Subject: ARM: sa1100/badge4: remove PWER RTC initialisation When the RTC driver initialises, it automatically enables RTC wakeup, so explicitly initialising PWER for RTC wakeup is redundant. In any case, the conversion of the SA1100 GPIOs to gpiolib has made this setting ineffectual. Signed-off-by: Russell King --- arch/arm/mach-sa1100/badge4.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c index bf54ea146062..059b849fe9a8 100644 --- a/arch/arm/mach-sa1100/badge4.c +++ b/arch/arm/mach-sa1100/badge4.c @@ -228,7 +228,6 @@ static int __init badge4_init(void) PSDR = 0; PWER |= PWER_GPIO26; /* wake up on an edge from TESTPT_J5 */ - PWER |= PWER_RTC; /* wake up if rtc fires */ /* drive sa1111_nrst during sleep */ PGSR |= BADGE4_GPIO_SA1111_NRST; -- cgit