summaryrefslogtreecommitdiff
path: root/drivers/regulator/twl-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2017-11-29 17:02:46 +0300
committerMark Brown <broonie@kernel.org>2018-01-24 20:31:01 +0300
commit9d4853322ffcc76a2eb62d720ec3903d427b39bc (patch)
treea2ae61204692f60b75110c816c3e02f6dacad541 /drivers/regulator/twl-regulator.c
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-9d4853322ffcc76a2eb62d720ec3903d427b39bc.tar.xz
regulator: qcom_spmi: Use regmap helpers for enable/disable/is_enabled callback
Setup .enable_reg/.enable_mask/.enable_val fields, then we can use the regmap helpers for enable/disable/is_enabled callback implementation. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/twl-regulator.c')
0 files changed, 0 insertions, 0 deletions