ARM: OMAP: Remove Remove superfluous/recursive locking for GPIO
[linux-2.6.git] / arch / arm / plat-omap / gpio.c
index 96d754833704e19c42c57b5ef3c8b6a64f9d9a8f..21d38098c73d7af80939a5b04efc8328dd24002d 100644 (file)
@@ -680,9 +680,7 @@ static int gpio_wake_enable(unsigned int irq, unsigned int enable)
        if (check_gpio(gpio) < 0)
                return -ENODEV;
        bank = get_gpio_bank(gpio);
-       spin_lock(&bank->lock);
        retval = _set_gpio_wakeup(bank, get_gpio_index(gpio), enable);
-       spin_unlock(&bank->lock);
 
        return retval;
 }