public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] regulator: Constify read-only regmap_config struct
@ 2024-07-04 18:13 Javier Carrasco
  2024-07-04 18:13 ` [PATCH 1/2] regulator: da9121: Constify struct regmap_config Javier Carrasco
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Javier Carrasco @ 2024-07-04 18:13 UTC (permalink / raw)
  To: Support Opensource, Liam Girdwood, Mark Brown
  Cc: linux-kernel, Javier Carrasco

This series adds the const modifier to the remaining regmap_config
structs in the regulator subsystem that are effectively used as const
(i.e., only read after their declaration), but kept ad writtable data.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      regulator: da9121: Constify struct regmap_config
      regulator: max77857: Constify struct regmap_config

 drivers/regulator/da9121-regulator.c   | 6 +++---
 drivers/regulator/max77857-regulator.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240704-regulator-const-regmap-2701f2387dad

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


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

end of thread, other threads:[~2024-07-04 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 18:13 [PATCH 0/2] regulator: Constify read-only regmap_config struct Javier Carrasco
2024-07-04 18:13 ` [PATCH 1/2] regulator: da9121: Constify struct regmap_config Javier Carrasco
2024-07-04 18:13 ` [PATCH 2/2] regulator: max77857: " Javier Carrasco
2024-07-04 20:00 ` [PATCH 0/2] regulator: Constify read-only regmap_config struct Mark Brown

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