diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-29 22:46:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-01 20:33:14 +0300 |
commit | 8d41df6469eec8d784137aeeebf87dca7460ce37 (patch) | |
tree | 78e869d4f98bfae0c6d73cade16ee69a3b5e558a /drivers/regulator/max77650-regulator.c | |
parent | bfa29acd18e53ff44135f2eae2b942419a8582cc (diff) | |
download | linux-8d41df6469eec8d784137aeeebf87dca7460ce37.tar.xz |
regulator: qcom_rpm: Constify struct regulator_ops
These are never modified, so make them const to allow the compiler to
put them in read-only memory.
Before:
text data bss dec hex filename
17485 500 8 17993 4649 drivers/regulator/qcom_rpm-regulator.o
After:
text data bss dec hex filename
17881 104 8 17993 4649 drivers/regulator/qcom_rpm-regulator.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200629194632.8147-2-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max77650-regulator.c')
0 files changed, 0 insertions, 0 deletions