diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-28 07:12:20 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:47:51 -0400 |
commit | 4fe25e3898ec53de322f32b67afa2be872f8ed21 (patch) | |
tree | 5e0692156d78a9a7cf94d7297e45322ae88ec410 | |
parent | 504f1dfeccb3f523a3faefb0802016c818efa5fb (diff) |
arm: nomadik: Remove non existing cpu id check
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/arm/plat-nomadik/gpio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/plat-nomadik/gpio.c b/arch/arm/plat-nomadik/gpio.c index 80643bc38e10..6436ba597c12 100644 --- a/arch/arm/plat-nomadik/gpio.c +++ b/arch/arm/plat-nomadik/gpio.c | |||
@@ -541,13 +541,6 @@ static void __nmk_gpio_irq_modify(struct nmk_gpio_chip *nmk_chip, | |||
541 | static void __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip, | 541 | static void __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip, |
542 | int gpio, bool on) | 542 | int gpio, bool on) |
543 | { | 543 | { |
544 | #ifdef CONFIG_ARCH_U8500 | ||
545 | if (cpu_is_u8500v2()) { | ||
546 | __nmk_gpio_set_slpm(nmk_chip, gpio - nmk_chip->chip.base, | ||
547 | on ? NMK_GPIO_SLPM_WAKEUP_ENABLE | ||
548 | : NMK_GPIO_SLPM_WAKEUP_DISABLE); | ||
549 | } | ||
550 | #endif | ||
551 | __nmk_gpio_irq_modify(nmk_chip, gpio, WAKE, on); | 544 | __nmk_gpio_irq_modify(nmk_chip, gpio, WAKE, on); |
552 | } | 545 | } |
553 | 546 | ||