diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-13 14:41:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-10-12 21:55:52 +0100 |
commit | 5312c9d4f397dfe21173714d95ac8e63e5823463 (patch) | |
tree | 4d3cbad3f08cf80bc8a926dce81dbf7bac6421de | |
parent | 66f4b4b917e37eb95c72e092da47eafe44779e9e (diff) |
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 <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |