]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
twl4030-gpio.h removal
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 2 Oct 2008 02:48:21 +0000 (19:48 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Oct 2008 13:21:12 +0000 (16:21 +0300)
commit13d97456d615e339f78afa981e20e80104a03d5d
tree7e34f4595c9a5c69f12e8422a73907f2b7ac9880
parent56d33dd99b13c4f18df838e766c595299f7e1e0f
twl4030-gpio.h removal

The <linux/i2c/...> directory has too many headers for twl4030
support.  Start simplifying that by moving twl430-gpio.h into
the main twl4030.h and also:

 - Providing comments to summarize the { module, offset } logical
   addressing vs the { i2c_client, register } physical addressing.

 - Moving the { module, offset } based I/O calls next to the place
   those modules are defined, with slightly improved descriptions.

 - Adding some section markers internal to twl4030.h so unrelated
   things can be visually separated.

 - Move TWL4030_GPIO_MAX adjacent to the other GPIO symbols.

 - Remove two more now-obsolete symbols (for GPIO pullup/pulldown).

 - Have global definitions of the three SIH_CTRL register bits,
   following the pattern of twl4030-core.c (and fixing a minor
   fault handling bug in reading the clear-on-read bit).

To keep things simple, the only blocks with register declarations
in this file should be ones with registers that (cleanly) get
shared between components ... modules with SIH registers (for
IRQ handling) being the obvious candidates.

No functional changes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/gpio/twl4030-gpio.c
drivers/mfd/twl4030-core.c
include/linux/i2c/twl4030-gpio.h [deleted file]
include/linux/i2c/twl4030.h