From 5312c9d4f397dfe21173714d95ac8e63e5823463 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(-) diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 41d50d91502f..e516fe980743 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -603,7 +603,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