regulator: fixed: fix regulator_list_voltage() for regression
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 13 Nov 2013 11:33:00 +0000 (12:33 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 13 Nov 2013 14:00:51 +0000 (14:00 +0000)
commitf446043f1aa74c2d699db48ba4a7a075b88dc14d
treeb922e32aa5cfeed3dd2a44dff018c8acbacfe362
parentd4d5cef649d1042454c286474343cec50ff1cb60
regulator: fixed: fix regulator_list_voltage() for regression

Commit c368e5fc2a190923b786f2de3e79430ea3566a25 "regulator: fixed:
get rid of {get|list}_voltage()" broke regulator_list_voltage() for
the fixed regulator, because an earlier commit
5a523605afa7d3b54b2e7041f8c9e6bc39872a7e "regulator: core: provide
fixed voltage in desc for single voltage rail" missed to add support
for the fixed-voltage special case to that function. This patch
fixes that regression.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c