diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2022-11-09 19:53:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-22 20:05:03 +0300 |
commit | 2da34b2301386bfed929d41c2e5367d484a140fe (patch) | |
tree | 6d44497c79dae5be71fa66fae5bd5f971a243d34 /tools/perf/scripts/python/stackcollapse.py | |
parent | db6f6ba74ea237356564a06882adf6e95d6cf3e1 (diff) | |
download | linux-2da34b2301386bfed929d41c2e5367d484a140fe.tar.xz |
regulator: arizona-micsupp: Don't hardcode use of ARIZONA defines
When Madera support was added to this driver the code was left
using ARIZONA_* defines. This wasn't causing any problem because
those defines just happened to have the same value as the
equivalent MADERA_* defines. But it is not ideal to assume this,
and future devices that can share this driver do not have the
same register map.
Fix the code to refer to the register data in struct regulator_desc.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221109165331.29332-7-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions