diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-02-02 13:27:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-03 20:15:08 +0300 |
commit | 13d57e64352a5d3457d7782bc2f8b576e12b05f3 (patch) | |
tree | dce9306bb52b66a8dc70e1310bd5b9595e77b0c4 /net/tipc/subscr.c | |
parent | 94c39041ae0c0e83d10bc1a56974a2eefd9386c8 (diff) | |
download | linux-13d57e64352a5d3457d7782bc2f8b576e12b05f3.tar.xz |
regulator: axp20x: Use linear voltage ranges for AXP20X LDO4
AXP20X datasheet lists the possible voltage settings for LDO4, so
it was implemented using a voltage table. Upon closer examination,
the valid voltages can be mapped into 3 linear ranges.
Move AXP20X LDO4 to use linear ranges. The supporting code can be
reused with later AXP8xx PMICs, which have a number of regulators
that have 2 linear ranges.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/tipc/subscr.c')
0 files changed, 0 insertions, 0 deletions