[PATCH 0/5] regulator: Constify some static struct variables

From: Rikard Falkeborn
Date: Wed Jun 17 2020 - 18:33:15 EST


Constify some static struct variables to allow the compiler to put them
in read-only memory. There are more of these, but I figured I could
start small. Also, is one patch per driver a good resolution or too
fine-grained?

Rikard Falkeborn (5):
regulator: anatop: Constify anatop_core_rops
regulator: cpcap: Constify cpcap_regulator_ops
regulator: ltc3676: Constify ltc3676_regulators
regulator: max8907: Constify static structs
regulator: max8997: Constify struct regulator_ops

drivers/regulator/anatop-regulator.c | 2 +-
drivers/regulator/cpcap-regulator.c | 2 +-
drivers/regulator/ltc3676.c | 2 +-
drivers/regulator/max8907-regulator.c | 6 +++---
drivers/regulator/max8997-regulator.c | 14 +++++++-------
5 files changed, 13 insertions(+), 13 deletions(-)

--
2.27.0