[PATCH 0/3] hwmon: constify struct regmap_config

Javier Carrasco posted 3 patches 1 year, 5 months ago
drivers/hwmon/ina238.c   | 2 +-
drivers/hwmon/tmp513.c   | 2 +-
drivers/hwmon/tps23861.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
[PATCH 0/3] hwmon: constify struct regmap_config
Posted by Javier Carrasco 1 year, 5 months ago
This series adds the const modifier to the remaining regmap_config
structs within the hwmon 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 (3):
      hwmon: (ina238) Constify struct regmap_config
      hwmon: (tmp513) Constify struct regmap_config
      hwmon: (tps23861) Constify struct regmap_config

 drivers/hwmon/ina238.c   | 2 +-
 drivers/hwmon/tmp513.c   | 2 +-
 drivers/hwmon/tps23861.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 39b24cced70fdc336dbc0070f8b3bde61d8513a8
change-id: 20240702-hwmon-const-regmap-4d4e3c097d9e

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