diff options
author | Rikard Falkeborn <[email protected]> | 2020-06-18 00:32:47 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-18 13:47:35 +0100 |
commit | 9ed84d24de480e81294e00814c142234bc17ce0c (patch) | |
tree | 7ad8ce5731eafbdd395c63b2c747d1e876aed65e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b08af72d6e5319e96527816c4b3b08d0b1a6f242 (diff) |
regulator: max8997: Constify struct regulator_ops
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
13114 8596 0 21710 54ce drivers/regulator/max8997-regulator.o
After:
text data bss dec hex filename
14038 7672 0 21710 54ce drivers/regulator/max8997-regulator.o
Signed-off-by: Rikard Falkeborn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions