commit | 489d6954acabe71d22ba0033fe85822742364915 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jan 14 20:44:48 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Jan 14 15:24:41 2020 +0000 |
tree | 89b75348e4b0b6868f774e4f72d9b40f2d202cd4 | |
parent | f72c5835509109715a8d8f0d98fddef089b3a4d8 [diff] |
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>