diff options
author | 2020-09-13 10:41:13 +0200 | |
---|---|---|
committer | 2020-09-14 14:24:39 +0100 | |
commit | 72f2746c52e3fa6c0f6740df2d4fb70419533084 (patch) | |
tree | 035cdbceb6ef101d125356d7f48713126b9f55a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: stw481x-vmmc: Constify static structs (diff) | |
download | linux-dev-72f2746c52e3fa6c0f6740df2d4fb70419533084.tar.xz linux-dev-72f2746c52e3fa6c0f6740df2d4fb70419533084.zip |
regulator: pca9450: Constify static regulator_ops
The only usages of these is 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/20200913084114.8851-5-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions