public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] OMAP: GPIO: cleanup: first pass at ifdef removal
@ 2011-04-21  0:13 Kevin Hilman
  2011-04-21  0:13 ` [PATCH 1/2] OMAP: GPIO: move register offset defines into gpio.h Kevin Hilman
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Hilman @ 2011-04-21  0:13 UTC (permalink / raw)
  To: linux-omap; +Cc: Santosh Shilimkar, charu

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-21 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21  0:13 [PATCH 0/2] OMAP: GPIO: cleanup: first pass at ifdef removal Kevin Hilman
2011-04-21  0:13 ` [PATCH 1/2] OMAP: GPIO: move register offset defines into gpio.h Kevin Hilman
2011-04-21  0:13 ` [PATCH 2/2] OMAP: GPIO: consolidate direction, input, output, remove #ifdefs Kevin Hilman
2011-04-21  8:32 ` [PATCH 0/2] OMAP: GPIO: cleanup: first pass at ifdef removal DebBarma, Tarun Kanti
2011-04-21 15:12   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox