This series is a first pass at the #ifdef removal cleanup. To demonstrate the type of changes needed for the cleanup, the direction and data input/output functions are handled first. Register offset fields are added to platform_data so #ifdefs can be removed. Similar needs to be done for the remaining #ifdefs. Currently boot tested on 3430/n900 only. Series applies to v2.6.39-rc4. Kevin Hilman (2): OMAP: GPIO: move register offset defines into gpio.h OMAP: GPIO: consolidate direction, input, output, remove #ifdefs arch/arm/mach-omap1/gpio15xx.c | 7 + arch/arm/mach-omap1/gpio16xx.c | 15 ++ arch/arm/mach-omap1/gpio7xx.c | 15 ++ arch/arm/mach-omap2/gpio.c | 10 + arch/arm/plat-omap/gpio.c | 328 +++---------------------------- arch/arm/plat-omap/include/plat/gpio.h | 111 +++++++++++ 6 files changed, 190 insertions(+), 296 deletions(-) -- 1.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html