regulator: Don't report zero volts for the fixed voltage regulator
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Nov 2011 11:38:45 +0000 (11:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 14:03:41 +0000 (14:03 +0000)
commitaebe495895f5542213dd17a644647b0aae8353f0
treebfce7987ec8565284ecf8ce73969607f9b454d78
parentc1fc1480249dfe059254779a4bb7ca27cf5f8038
regulator: Don't report zero volts for the fixed voltage regulator

If we don't know what voltage the regulator is set to return an error
rather than reporting zero volts.

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