* Tony Lindgren <tony@xxxxxxxxxxx> [081113 16:43]: > * Felipe Balbi <me@xxxxxxxxxxxxxxx> [081113 16:36]: > > On Thu, Nov 13, 2008 at 04:15:09PM -0800, David Brownell wrote: > > > On Thursday 13 November 2008, Tony Lindgren wrote: > > > > * David Brownell <david-b@xxxxxxxxxxx> [081107 16:45]: > > > > > From: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> > > > > > > > > > > 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. > > > > > > > > Pushing to linux-omap tree while waiting for this to fall down from > > > > mainline tree via Samuel's queue. > > > > > > Hmm, better to revert this and send the updated version I sent > > > as part of the regulator series... that returns the platform > > > device, which is useful in setting up consumers of the regulator > > > devices. > > OK, will do. If CONFIG_REGULATOR is not set, I get: drivers/mfd/twl4030-core.c: In function 'add_children': drivers/mfd/twl4030-core.c:592: error: 'REGULATOR_MODE_OFF' undeclared (first use in this function) Where do you want to have that for now? Add it also into twl4030-core.c like in twl4030-regulator.c? Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html