lkml.org 
[lkml]   [2020]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] regulator: Constify some static struct variables
Date
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

\
 
 \ /
  Last update: 2020-06-18 00:33    [W:0.450 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site