Re: [PATCH] regulator: Defer lookup of supply to regulator_get

2015-03-24 Thread Mark Brown
On Tue, Mar 24, 2015 at 06:56:05PM -0700, Bjorn Andersson wrote: > Instead of resolving regulator supplies during registration move this to > the time of a consumer retrieving a handle. The benefit is that it's > possible for one driver to register regulators with internal > dependencies out of ord

[PATCH] regulator: Defer lookup of supply to regulator_get

2015-03-24 Thread Bjorn Andersson
Instead of resolving regulator supplies during registration move this to the time of a consumer retrieving a handle. The benefit is that it's possible for one driver to register regulators with internal dependencies out of order. Signed-off-by: Bjorn Andersson --- drivers/regulator/core.c