summaryrefslogtreecommitdiff
path: root/drivers/mfd/da903x.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-12-01 00:31:04 +0100
committerSamuel Ortiz <samuel@sortiz.org>2009-01-04 12:17:39 +0100
commit5725d66b9d18e630bb63e3b76bedf25fd1027265 (patch)
treee90fbe3972de8cdbc6971ea814334c42bb0c1873 /drivers/mfd/da903x.c
parent4008e879e1325c29362aa2c3fa4b527273ae15a8 (diff)
mfd: twl4030: simplified child creation code
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 helps to remove some irq #defines that block the children's drivers code from compiling on non-OMAP platforms. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/da903x.c')
0 files changed, 0 insertions, 0 deletions