RE: [PATCH 0/2] OMAP: GPIO: cleanup: first pass at ifdef removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[...]
> 
> 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.
Tested following on OMAP2420, OMAP2430, OMAP4430:
-> request/free of gpio lines
-> configure input/output mode
-> interrupt configuration
-> read/write
--
Tarun
> 
> 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
--
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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux