Home
last modified time | relevance | path

Searched hist:b37f076d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dltc3676.cb37f076d Wed Jun 17 17:32:45 CDT 2020 Rikard Falkeborn <rikard.falkeborn@gmail.com> 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>
b37f076d Wed Jun 17 17:32:45 CDT 2020 Rikard Falkeborn <rikard.falkeborn@gmail.com> 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>