summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/isl6271a-regulator.c
diff options
context:
space:
mode:
authorAxel Lin2012-06-07 04:05:14 +0200
committerMark Brown2012-06-08 01:29:11 +0200
commit5a6881e8e134ea636bbc8423049e84638dbb7106 (patch)
tree57813294f666d3b659d097df22dfef190f2766b9 /drivers/regulator/isl6271a-regulator.c
parentregulator: tps6507x: Avoid duplicating the same mapping table for LDO2 and VD... (diff)
downloadkernel-qcow2-linux-5a6881e8e134ea636bbc8423049e84638dbb7106.tar.gz
kernel-qcow2-linux-5a6881e8e134ea636bbc8423049e84638dbb7106.tar.xz
kernel-qcow2-linux-5a6881e8e134ea636bbc8423049e84638dbb7106.zip
regulator: core: Handle fixed voltage in map_voltage_linear
Fixed voltage is a kind of linear mapping where n_voltages is 1. This change allows [list|map]_voltage_linear to be used for fixed voltage. For fixed voltage, n_voltages is 1 and the only valid selector is 0. Thus we actually don't care the uV_step setting. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/isl6271a-regulator.c')
0 files changed, 0 insertions, 0 deletions