]> git.baikalelectronics.ru Git - kernel.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)
commitfe5f653897af4e8fd0b28ef0c0f6e48c79232271
treea2b1a9ebeabe3c6d96164432b439c49feb6c3b8f
parent0a447cbcace4571a9297be3a2e6f641c669d87a7
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