diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-01 00:31:04 +0100 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-01-04 12:17:39 +0100 |
commit | 5725d66b9d18e630bb63e3b76bedf25fd1027265 (patch) | |
tree | e90fbe3972de8cdbc6971ea814334c42bb0c1873 /drivers/mfd/htc-egpio.c | |
parent | 4008e879e1325c29362aa2c3fa4b527273ae15a8 (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/htc-egpio.c')
0 files changed, 0 insertions, 0 deletions