summaryrefslogtreecommitdiff
path: root/drivers/regulator/ltc3676.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2020-01-14 15:44:48 +0300
committerMark Brown <broonie@kernel.org>2020-01-14 18:24:41 +0300
commit489d6954acabe71d22ba0033fe85822742364915 (patch)
tree89b75348e4b0b6868f774e4f72d9b40f2d202cd4 /drivers/regulator/ltc3676.c
parentf72c5835509109715a8d8f0d98fddef089b3a4d8 (diff)
downloadlinux-489d6954acabe71d22ba0033fe85822742364915.tar.xz
regulator: mpq7920: Remove unneeded fields from struct mpq7920_regulator_info
Both *dev and *rdev are only used in .probe, so use local variable instead. Also remove mpq7920_regulator_register() because it is so trivial and there is only one caller. Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20200114124449.28408-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ltc3676.c')
0 files changed, 0 insertions, 0 deletions