[PATCH 09/18] regulator: ab8500: Split up probe() into manageable pieces

Linus Walleij linus.walleij at linaro.org
Sun May 20 17:15:07 EDT 2012


On Thu, May 17, 2012 at 3:45 PM, Lee Jones <lee.jones at linaro.org> wrote:

> ab8500's probe() function is becoming quite large, so in the lead
> up to Device Tree enablement which will fork the thread of execution
> this patch splits it into 3 main areas; basic error checking will
> remain in probe(), but regulator register initialisation and regulator
> registration have been moved to their own functions which will
> be called in sequence by probe() and the DT equivalent.
>
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks to Mark for review and merge,

Linus Walleij



More information about the linux-arm-kernel mailing list