Re: [PATCH 10/35] mfd: ab8500-core: Rework MFD sub-device initialisation structures

2013-02-20 Thread Lee Jones
On Tue, 19 Feb 2013, Arnd Bergmann wrote: > On Friday 15 February 2013, Lee Jones wrote: > > + { > > + .name = "ab8500-charger", > > + .of_compatible = "stericsson,ab8500-charger", > > + .num_resources = ARRAY_SIZE(ab8500_charger_resources), > > +

Re: [PATCH 10/35] mfd: ab8500-core: Rework MFD sub-device initialisation structures

2013-02-19 Thread Arnd Bergmann
On Friday 15 February 2013, Lee Jones wrote: > + { > + .name = "ab8500-charger", > + .of_compatible = "stericsson,ab8500-charger", > + .num_resources = ARRAY_SIZE(ab8500_charger_resources), > + .resources = ab8500_charger_resources, > +#

[PATCH 10/35] mfd: ab8500-core: Rework MFD sub-device initialisation structures

2013-02-15 Thread Lee Jones
Here we're separating Battery Management devices into their own structure, removing the common device structure & redistribute them amongst the individual platform structs and completing the population of them. Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 257 +++