Home
last modified time | relevance | path

Searched hist:"985884 db501d7026257d122c3cc32a7005a9a864" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Danatop-regulator.cdiff 985884db501d7026257d122c3cc32a7005a9a864 Sat Dec 08 18:05:45 CST 2012 Axel Lin <axel.lin@ingics.com> 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>