aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/db8500-prcmu.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-02-15 19:54:20 +0800
committerMark Brown <broonie@kernel.org>2019-02-15 17:37:51 +0000
commit502aba81aa61393d798cdaabfaa9cba334b9f3d0 (patch)
treefd4f48e9beb17f653cffb0baa2c4f4d1a5917c27 /drivers/regulator/db8500-prcmu.c
parent049369d464289bb57bcfb6faa20990a06fe1e7ae (diff)
regulator: ltc3676: Simplify .readable_reg and .writable_reg callbacks
Use case range for continuous range to make the code shorter. The .readable_reg and .writable_reg implementation are exactly the same, so use a common ltc3676_readable_writeable_reg function instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions