aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/fan53555.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-02-25 17:13:49 +0800
committerMark Brown <broonie@kernel.org>2019-02-26 11:48:34 +0000
commit5db2efbe115e53153aba2e02a87c62f2e78e3102 (patch)
tree613312e133384d37ae2c2a902cd976e0fb81f878 /drivers/regulator/fan53555.c
parentregulator: da9063: Use struct_size() in devm_kzalloc() (diff)
downloadlinux-dev-5db2efbe115e53153aba2e02a87c62f2e78e3102.tar.xz
linux-dev-5db2efbe115e53153aba2e02a87c62f2e78e3102.zip
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 <axel.lin@ingics.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/fan53555.c')
0 files changed, 0 insertions, 0 deletions