From 6fd6f3bcf9ab8c4667671d0ca3e860b7628511f5 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 12 Mar 2008 14:40:10 +0200 Subject: [PATCH] ARM: OMAP: GPIO whitespace fixes to sync with mainline GPIO whitespace fixes to sync with mainline Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/gpio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index d82e1f43059..1903a3491ee 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -539,7 +539,7 @@ static inline void set_24xx_gpio_triggering(struct gpio_bank *bank, int gpio, bank->enabled_non_wakeup_gpios &= ~gpio_bit; } - bank->level_mask = + bank->level_mask = __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT0) | __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT1); } @@ -657,7 +657,7 @@ static int gpio_irq_type(unsigned irq, unsigned type) __set_irq_handler_unlocked(irq, handle_level_irq); else if (type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) __set_irq_handler_unlocked(irq, handle_edge_irq); - + return retval; } @@ -1105,7 +1105,7 @@ static void gpio_unmask_irq(unsigned int irq) _set_gpio_irqenable(bank, gpio, 0); _clear_gpio_irqstatus(bank, gpio); } - + _set_gpio_irqenable(bank, gpio, 1); } -- 2.41.1