regulator: Defer lookup of supply to regulator_get
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Wed, 25 Mar 2015 01:56:05 +0000 (18:56 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 1 Apr 2015 20:19:44 +0000 (21:19 +0100)
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 <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/driver.h

Simple merge
Simple merge