Skip to content
Unverified Commit 5db2efbe authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ac227fb5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment