diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-13 14:41:36 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-03-26 12:09:13 +0000 |
commit | 3c5252f8a6966afc7d71273982bc0424449fed94 (patch) | |
tree | 78a042c60ef128da85535a353c2401e5338759b8 | |
parent | 8127d090809e3471aa1cb93529c73574336fda3e (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 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; |