diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-18 00:32:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-18 13:47:34 +0100 |
commit | b08af72d6e5319e96527816c4b3b08d0b1a6f242 (patch) | |
tree | f1496e445dec95752118fdaffb5e2198477b5303 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b37f076d4bfdd29b3aa497480b226759f659e25f (diff) |
regulator: max8907: Constify static structs
These are not modified so make them const to allow the compiler to put
them in read-only memory.
Before:
text data bss dec hex filename
2753 7328 0 10081 2761 drivers/regulator/max8907-regulator.o
After:
text data bss dec hex filename
9405 684 0 10089 2769 drivers/regulator/max8907-regulator.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200617223247.25566-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