Laxman Dewangan 5a523605af regulator: core: provide fixed voltage in desc for single voltage rail
If given rail has the single voltage (n_voltages = 1) then provide the
rail voltage through regulator descriptor so that core can use this
value for finding voltage.

This will avoid the implementation of the callback for get_voltage() or
list_voltage() callback on regulator driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-10 18:19:52 +01:00
..
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-03 11:56:38 -07:00
2013-07-30 12:24:20 +01:00
2012-11-20 10:31:26 +09:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00
2012-11-20 10:53:38 +09:00
2013-07-30 12:24:20 +01:00
2013-07-30 12:24:20 +01:00