diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-18 00:32:44 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-06-18 13:47:32 +0100 |
| commit | bcf39c1eb1e059ec612bf06f4aa7b3972dcc85e8 (patch) | |
| tree | e346f869874a90c39450d66698551d35caf633e6 /net/switchdev/switchdev.c | |
| parent | cae62a937912bd4b3faf8e268cc0ffcf00ec5850 (diff) | |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
