diff options
author | Axel Lin <[email protected]> | 2019-02-25 17:13:49 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-02-26 11:48:34 +0000 |
commit | 5db2efbe115e53153aba2e02a87c62f2e78e3102 (patch) | |
tree | 613312e133384d37ae2c2a902cd976e0fb81f878 /lib/string_helpers.c | |
parent | ac227fb5bc950cf97b0d50ab7ee2c8aa7cd65441 (diff) |
regulator: arizona_ldo1: Simplify arizona_ldo1_hc_set/get_voltage_sel
Setup .vsel_reg and .vsel_mask then we can use the standard
set/get_voltage_sel_regmap helpers to simplify the code.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions