]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm: nomadik: Remove non existing cpu id check
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Mar 2011 11:12:20 +0000 (13:12 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:47:51 +0000 (14:47 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm/plat-nomadik/gpio.c

index 80643bc38e10deb1695d210d9ec29bab823275ab..6436ba597c12f5ae6cdb8dc7172cf756461a09d5 100644 (file)
@@ -541,13 +541,6 @@ static void __nmk_gpio_irq_modify(struct nmk_gpio_chip *nmk_chip,
 static void __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip,
                                int gpio, bool on)
 {
-#ifdef CONFIG_ARCH_U8500
-       if (cpu_is_u8500v2()) {
-               __nmk_gpio_set_slpm(nmk_chip, gpio - nmk_chip->chip.base,
-                                   on ? NMK_GPIO_SLPM_WAKEUP_ENABLE
-                                      : NMK_GPIO_SLPM_WAKEUP_DISABLE);
-       }
-#endif
        __nmk_gpio_irq_modify(nmk_chip, gpio, WAKE, on);
 }