Skip to content
Unverified Commit 3b619e3e authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Mark Brown
Browse files

regulator: qcom_spmi: 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
  20362    2592     152   23106    5a42 drivers/regulator/qcom_spmi-regulator.o

After:
   text    data     bss     dec     hex filename
  21814    1140     152   23106    5a42 drivers/regulator/qcom_spmi-regulator.o

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200629194632.8147-3-rikard.falkeborn@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8d41df64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment