regulator: Don't warn on omitted voltage constraints
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Mar 2009 16:28:36 +0000 (16:28 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 31 Mar 2009 08:56:26 +0000 (09:56 +0100)
commit3e2b9abda554e9f6105996dca77cca9ef98de17a
tree25f727d762a7afc42e2a2ea5761a6eb5ad33e205
parent216765d92acaeabdad6561254a5a676325105a37
regulator: Don't warn on omitted voltage constraints

Specifying voltage constraints is optional (and only needed if the
consumer is allowed to change the voltage) so don't complain unless
a voltage has been specified.

Also avoid surprises with a dangling else while we're here.

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