regulator: stubs: Make stub regulator_get_voltage() return an error
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Jun 2012 12:14:24 +0000 (20:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 Jun 2012 12:39:59 +0000 (13:39 +0100)
Returning 0 isn't useful, it's not even meaningful if there is a real
regulator there.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found