aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8907-regulator.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-06-18 00:32:45 +0200
committerMark Brown <broonie@kernel.org>2020-06-18 13:47:33 +0100
commitb37f076d4bfdd29b3aa497480b226759f659e25f (patch)
tree862a71bdc92e1a0d1a9e5e82ab0b036e1005bba9 /drivers/regulator/max8907-regulator.c
parentregulator: cpcap: Constify cpcap_regulator_ops (diff)
downloadlinux-dev-b37f076d4bfdd29b3aa497480b226759f659e25f.tar.xz
linux-dev-b37f076d4bfdd29b3aa497480b226759f659e25f.zip
regulator: ltc3676: Constify ltc3676_regulators
ltc3676_regulators 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 4361 2064 8 6433 1921 drivers/regulator/ltc3676.o After: text data bss dec hex filename 6121 304 8 6433 1921 drivers/regulator/ltc3676.o Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20200617223247.25566-4-rikard.falkeborn@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max8907-regulator.c')
0 files changed, 0 insertions, 0 deletions