]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: ltc3589: Remove ltc3589_list_voltage_fixed function
authorAxel Lin <axel.lin@ingics.com>
Tue, 27 May 2014 06:05:09 +0000 (14:05 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 27 May 2014 11:06:35 +0000 (12:06 +0100)
commitc0c14e6af9ec89479f3ee3895961ef51e97aadd4
treea2b1a9ebeabe3c6d96164432b439c49feb6c3b8f
parentac1d686846d23b2665e9d4791e32af70e251da90
regulator: ltc3589: Remove ltc3589_list_voltage_fixed function

When fixed_uV is set and n_voltage is 1, regulator core will return
rdev->desc->fixed_uV in regulator_get_voltage() and regulator_list_voltage().

Rename ltc3589_standby_regulator_ops to ltc3589_fixed_standby_regulator_ops,
this makes the code clear that the ops is for fixed voltage regulator.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/ltc3589.c