[PATCH 09/18] regulator: ab8500: Split up probe() into manageable pieces
From: Linus Walleij <hidden>
Date: 2012-05-20 21:15:10
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2012-05-20 21:15:10
Also in:
lkml
On Thu, May 17, 2012 at 3:45 PM, Lee Jones [off-list ref] 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 <redacted>
Acked-by: Linus Walleij <redacted> Thanks to Mark for review and merge, Linus Walleij