regulator: core: Pull non-DT supply mapping into regulator_dev_lookup()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Mar 2012 11:24:37 +0000 (12:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Apr 2012 13:00:49 +0000 (14:00 +0100)
commit576ca4367f291a9b240d027670fa2e344edf8c8a
treee4ef799e1f300e4bfd1b1e654737619a453eaf66
parent6d191a5fc7a969d972f1681e1c23781aecb06a61
regulator: core: Pull non-DT supply mapping into regulator_dev_lookup()

Ensure we always apply the supply mapping when doing a lookup rather than
only doing it in non-DT cases, ensuring that regulators with supplies
specified in the regulator_desc can find their supplies on non-DT systems
and generally making the code more obvious.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c