diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-08-30 00:11:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-01 15:48:56 +0100 |
commit | 25c8044502ca9fb684fe7a0612985069e27e01eb (patch) | |
tree | 0f81b6efe1af9ba342740e123c65554f7c468613 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7d844ac3b5a8a97ae4a05d9f545346a4fca77cea (diff) |
regulator: tps6586x: Constify static regulator_ops
The only usage of these are to assign their address to the ops field in
the regulator_desc struct, which is a const pointer. Make them const to
allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200829221104.20870-7-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions