From 1f559cf41f70383c8556e7f5df2229b25c395196 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 13 Sep 2016 14:41:36 +0100 Subject: ARM: sa1100/assabet: remove PWER initialisation Remove the explicit PWER initialisation: gpio-keys already enables wake-up for its keys, and so this setting 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/assabet.c | 1 - 1 file changed, 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 30723da9712a..3d8aeda35e1b 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -593,7 +593,6 @@ static void __init assabet_init(void) /* * Set up registers for sleep mode. */ - PWER = PWER_GPIO0; PGSR = GPIO_GPIO(17); PCFR = PCFR_OPDE | PCFR_FP; PSDR = 0; -- cgit