regulator: Fix support for deviceless supply mappings
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Jul 2009 15:00:26 +0000 (16:00 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:39 +0000 (13:32 +0100)
commit9ed2099edca26d07947beb42c12bd1d6669e82bc
treed44cdc4f737636e03354cde612cc854b1f469eb6
parent6bf87d17c9f5b855e9dde7b3d6f726385b966814
regulator: Fix support for deviceless supply mappings

The patch to add support for looking up consumers by device name
had the side effect of causing us to require a device which is
at best premature since at least cpufreq still operates outside
the device model. Remove that requirement.

Reported-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c