[PATCH 0/2] regulator: Constify read-only regmap_config struct

From: Javier Carrasco
Date: Thu Jul 04 2024 - 14:13:17 EST


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@xxxxxxxxx>
---
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@xxxxxxxxx>