From aba2e4cd06fb46fd9c7749ebc88727d9a677271d Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 22 Aug 2011 08:36:26 +0100 Subject: [PATCH] --- yaml --- r: 269400 b: refs/heads/master c: e9fe594344c3db554aebb48513b60bba90c4dd2d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-u300/include/mach/gpio.h | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index dda0691d9545..cee192dec9fa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eb3cf18cccc33d86179674ac1c49dcbc142fc2d9 +refs/heads/master: e9fe594344c3db554aebb48513b60bba90c4dd2d diff --git a/trunk/arch/arm/mach-u300/include/mach/gpio.h b/trunk/arch/arm/mach-u300/include/mach/gpio.h index 6a3f24d92438..430a0544baff 100644 --- a/trunk/arch/arm/mach-u300/include/mach/gpio.h +++ b/trunk/arch/arm/mach-u300/include/mach/gpio.h @@ -44,13 +44,4 @@ static inline unsigned gpio_to_irq(unsigned gpio) } #define gpio_to_irq gpio_to_irq -static inline unsigned irq_to_gpio(unsigned irq) -{ - /* - * FIXME: This is no 1-1 mapping at all, it points to the - * whole block of 8 pins. - */ - return (irq - IRQ_U300_GPIO_PORT0) << 3; -} - #endif /* __MACH_U300_GPIO_H */