ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Thu, 29 Mar 2012 15:41:02 +0000 (08:41 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Mar 2012 15:41:02 +0000 (08:41 -0700)
Since all references to OMAP_GPIO_IRQ macro are replaced now
with gpio_to_irq(), this can be removed altogether.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/gpio.h

index 9e86ee0aed0a05fb5ad448d144a84a93e21e5d53..d4df4142bc594d13b5c04e9497c4d332f90b02df 100644 (file)
 #define OMAP_MPUIO(nr)         (OMAP_MAX_GPIO_LINES + (nr))
 #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES)
 
-#define OMAP_GPIO_IRQ(nr)      (OMAP_GPIO_IS_MPUIO(nr) ? \
-                                IH_MPUIO_BASE + ((nr) & 0x0f) : \
-                                IH_GPIO_BASE + (nr))
-
 #define METHOD_MPUIO           0
 #define METHOD_GPIO_1510       1
 #define METHOD_GPIO_1610       2
This page took 0.031943 seconds and 5 git commands to generate.