mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] regulator: Constify some static struct variables
@ 2020-06-17 22:32 Rikard Falkeborn
  2020-06-17 22:32 ` [PATCH 1/5] regulator: anatop: Constify anatop_core_rops Rikard Falkeborn
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Rikard Falkeborn @ 2020-06-17 22:32 UTC (permalink / raw)
  Cc: lgirdwood, broonie, linux-kernel, Rikard Falkeborn

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-18 13:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 22:32 [PATCH 0/5] regulator: Constify some static struct variables Rikard Falkeborn
2020-06-17 22:32 ` [PATCH 1/5] regulator: anatop: Constify anatop_core_rops Rikard Falkeborn
2020-06-17 22:32 ` [PATCH 2/5] regulator: cpcap: Constify cpcap_regulator_ops Rikard Falkeborn
2020-06-17 22:32 ` [PATCH 3/5] regulator: ltc3676: Constify ltc3676_regulators Rikard Falkeborn
2020-06-17 22:32 ` [PATCH 4/5] regulator: max8907: Constify static structs Rikard Falkeborn
2020-06-17 22:32 ` [PATCH 5/5] regulator: max8997: Constify struct regulator_ops Rikard Falkeborn
2020-06-18 13:09 ` [PATCH 0/5] regulator: Constify some static struct variables Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®