aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65217-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-20 22:32:08 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-02 18:26:03 +0100
commit1e12dfc9681fed46fbc9fffc6aba9613908c1213 (patch)
tree26ff5bc9fb6140add172837f87339d5df9832313 /drivers/regulator/tps65217-regulator.c
parentregulator: tps6524x: Convert to regulator_list_voltage_table() (diff)
downloadlinux-dev-1e12dfc9681fed46fbc9fffc6aba9613908c1213.tar.xz
linux-dev-1e12dfc9681fed46fbc9fffc6aba9613908c1213.zip
regulator: tps6524x: Convert fixed ilimsel to table based
This patch refactors the code to get rid of the fixed_ilimsel and FIXED_ILIMSEL flag usage, and convert all the fixed ilimsel to table based (with one entry in the table). We can differentiate fixed ilimsel by checking info->n_ilimsels == 1, thus FIXED_ILIMSEL flag can be removed. This change makes the logic of the code simpler as all the ilimsels are table based now. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps65217-regulator.c')
0 files changed, 0 insertions, 0 deletions