diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-09-13 11:41:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-14 16:24:39 +0300 |
commit | 72f2746c52e3fa6c0f6740df2d4fb70419533084 (patch) | |
tree | 035cdbceb6ef101d125356d7f48713126b9f55a1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9032693e218e69a9527fd5d08c4ce5cdbe90820f (diff) | |
download | linux-72f2746c52e3fa6c0f6740df2d4fb70419533084.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions