diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-18 00:32:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-18 13:47:35 +0100 |
commit | 9ed84d24de480e81294e00814c142234bc17ce0c (patch) | |
tree | 7ad8ce5731eafbdd395c63b2c747d1e876aed65e /drivers/regulator/pfuze100-regulator.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 <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200617223247.25566-6-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/pfuze100-regulator.c')
0 files changed, 0 insertions, 0 deletions