diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-18 01:32:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-18 15:47:32 +0300 |
commit | bcf39c1eb1e059ec612bf06f4aa7b3972dcc85e8 (patch) | |
tree | e346f869874a90c39450d66698551d35caf633e6 /drivers/regulator/ltc3676.c | |
parent | cae62a937912bd4b3faf8e268cc0ffcf00ec5850 (diff) | |
download | linux-bcf39c1eb1e059ec612bf06f4aa7b3972dcc85e8.tar.xz |
regulator: cpcap: Constify cpcap_regulator_ops
cpcap_regulator_ops is not modified and can be made const to allow the
compiler to put it in read-only memory.
Before:
text data bss dec hex filename
14472 236 0 14708 3974 drivers/regulator/cpcap-regulator.o
After:
text data bss dec hex filename
14604 104 0 14708 3974 drivers/regulator/cpcap-regulator.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200617223247.25566-3-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ltc3676.c')
0 files changed, 0 insertions, 0 deletions