From: David Brownell Date: Sun, 30 Nov 2008 23:31:04 +0000 (+0100) Subject: mfd: twl4030: simplified child creation code X-Git-Tag: v2.6.29-rc1~493^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5725d66b9d18e630bb63e3b76bedf25fd1027265;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed