summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-09 04:05:45 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 07:38:09 +0400
commit985884db501d7026257d122c3cc32a7005a9a864 (patch)
tree96379e7eb17813863a6fefe27a08064f2da841de /include/linux/regulator
parent5d6e6ffc400dbc3ea0cc58b8b6f9d9ac748d6572 (diff)
downloadlinux-985884db501d7026257d122c3cc32a7005a9a864.tar.xz
regulator: anatop: Use linear_min_sel with linear mapping
By setting linear_min_sel to anatop_reg->min_bit_val, we can avoid adjust the anatop_reg->min_bit_val offset in [set|get]_voltage_sel. With this chance we can refactor this driver to use regulator_[get|set]_voltage_sel_regmap. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Ying-Chun Liu <paulliu@debian.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions