[RFC PATCH 03/18] OMAP: GPIO: Move gpio_get_index() to mach-omap

2011-04-22 Thread Charulatha V
gpio_get_index() uses cpu_is* checks. Move this function from plat-omap/gpio.c to SoC specific GPIO files in mach-omap*/ and use pdata to pass the function pointer. Signed-off-by: Charulatha V ch...@ti.com --- arch/arm/mach-omap1/gpio15xx.c | 14 ++

Re: [RFC PATCH 03/18] OMAP: GPIO: Move gpio_get_index() to mach-omap

2011-04-22 Thread Kevin Hilman
Charulatha V ch...@ti.com writes: gpio_get_index() uses cpu_is* checks. Move this function from plat-omap/gpio.c to SoC specific GPIO files in mach-omap*/ and use pdata to pass the function pointer. Signed-off-by: Charulatha V ch...@ti.com This one isn't really needed. The index should be