]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
twl4030-core simplification
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 8 Nov 2008 00:45:15 +0000 (16:45 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 22:19:42 +0000 (14:19 -0800)
commit041d1e14acc3dbee1755667ab12cca41ed584d13
tree191017937157b8ada465a0c491071efafdb69c2b
parent71a717aa26022c86ad46686d254a33a0e84b7967
twl4030-core simplification

Minor cleanup to twl4030-core: define a helper function to populate
a single child node, and use it to replace six inconsistent versions
of the same logic.  Both object and source code shrink.

As part of this, some devices now have more IRQ resources:  battery
charger, keypad, ADC, and USB transceiver.  That will help to remove
some irq #defines that prevent this code from compiling on non-OMAP
platforms.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mfd/twl4030-core.c