mbox series

[00/68] hwmon: constify pointers to hwmon_channel_info

Message ID 20230406203103.3011503-1-krzysztof.kozlowski@linaro.org (mailing list archive)
Headers show
Series hwmon: constify pointers to hwmon_channel_info | expand

Message

Krzysztof Kozlowski April 6, 2023, 8:29 p.m. UTC
Hi,

The first patch constifies the hwmon_channel_info pointers in the core, so all
the drivers can be updated - all patches here depend on the first one.

If the approach is fine, I will later update other subsystems.

Best regards,
Krzysztof

Krzysztof Kozlowski (68):
  hwmon: constify pointers to hwmon_channel_info
  hwmon: adm1177: constify pointers to hwmon_channel_info
  hwmon: adm9240: constify pointers to hwmon_channel_info
  hwmon: adt7411: constify pointers to hwmon_channel_info
  hwmon: adt7470: constify pointers to hwmon_channel_info
  hwmon: adt7x10: constify pointers to hwmon_channel_info
  hwmon: aht10: constify pointers to hwmon_channel_info
  hwmon: aquacomputer: constify pointers to hwmon_channel_info
  hwmon: as370: constify pointers to hwmon_channel_info
  hwmon: axi-fan: constify pointers to hwmon_channel_info
  hwmon: bt1-pvt: constify pointers to hwmon_channel_info
  hwmon: corsair: constify pointers to hwmon_channel_info
  hwmon: dell-smm: constify pointers to hwmon_channel_info
  hwmon: drivetemp: constify pointers to hwmon_channel_info
  hwmon: emc2305: constify pointers to hwmon_channel_info
  hwmon: ftsteutates: constify pointers to hwmon_channel_info
  hwmon: gxp-fan: constify pointers to hwmon_channel_info
  hwmon: i5500_temp: constify pointers to hwmon_channel_info
  hwmon: ina238: constify pointers to hwmon_channel_info
  hwmon: ina3221: constify pointers to hwmon_channel_info
  hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info
  hwmon: jc42: constify pointers to hwmon_channel_info
  hwmon: k10temp: constify pointers to hwmon_channel_info
  hwmon: k8temp: constify pointers to hwmon_channel_info
  hwmon: lan966x: constify pointers to hwmon_channel_info
  hwmon: lm75: constify pointers to hwmon_channel_info
  hwmon: lm83: constify pointers to hwmon_channel_info
  hwmon: lm95241: constify pointers to hwmon_channel_info
  hwmon: lm95245: constify pointers to hwmon_channel_info
  hwmon: lochnagar: constify pointers to hwmon_channel_info
  hwmon: ltc2947: constify pointers to hwmon_channel_info
  hwmon: ltc2992: constify pointers to hwmon_channel_info
  hwmon: ltc4245: constify pointers to hwmon_channel_info
  hwmon: ltq-cputemp: constify pointers to hwmon_channel_info
  hwmon: max127: constify pointers to hwmon_channel_info
  hwmon: max31730: constify pointers to hwmon_channel_info
  hwmon: max31760: constify pointers to hwmon_channel_info
  hwmon: max31790: constify pointers to hwmon_channel_info
  hwmon: max6620: constify pointers to hwmon_channel_info
  hwmon: max6621: constify pointers to hwmon_channel_info
  hwmon: max6650: constify pointers to hwmon_channel_info
  hwmon: mc34vr500: constify pointers to hwmon_channel_info
  hwmon: mcp3021: constify pointers to hwmon_channel_info
  hwmon: mlxreg: constify pointers to hwmon_channel_info
  hwmon: nct7904: constify pointers to hwmon_channel_info
  hwmon: npcm750-pwm: constify pointers to hwmon_channel_info
  hwmon: ntc_thermistor: constify pointers to hwmon_channel_info
  hwmon: nzxt: constify pointers to hwmon_channel_info
  hwmon: oxp-sensors: constify pointers to hwmon_channel_info
  hwmon: peci: constify pointers to hwmon_channel_info
  hwmon: powr1220: constify pointers to hwmon_channel_info
  hwmon: raspberrypi: constify pointers to hwmon_channel_info
  hwmon: sbrmi: constify pointers to hwmon_channel_info
  hwmon: sbtsi_temp: constify pointers to hwmon_channel_info
  hwmon: sch5627: constify pointers to hwmon_channel_info
  hwmon: sht4x: constify pointers to hwmon_channel_info
  hwmon: sl28cpld: constify pointers to hwmon_channel_info
  hwmon: smpro: constify pointers to hwmon_channel_info
  hwmon: sparx5-temp: constify pointers to hwmon_channel_info
  hwmon: sy7636a: constify pointers to hwmon_channel_info
  hwmon: tmp102: constify pointers to hwmon_channel_info
  hwmon: tmp103: constify pointers to hwmon_channel_info
  hwmon: tmp108: constify pointers to hwmon_channel_info
  hwmon: tmp464: constify pointers to hwmon_channel_info
  hwmon: tmp513: constify pointers to hwmon_channel_info
  hwmon: tps23861: constify pointers to hwmon_channel_info
  hwmon: w83627ehf: constify pointers to hwmon_channel_info
  hwmon: w83773g: constify pointers to hwmon_channel_info

 Documentation/hwmon/hwmon-kernel-api.rst |  6 +++---
 drivers/accel/habanalabs/common/hwmon.c  |  2 +-
 drivers/hwmon/adm1177.c                  |  2 +-
 drivers/hwmon/adm9240.c                  |  2 +-
 drivers/hwmon/adt7411.c                  |  2 +-
 drivers/hwmon/adt7470.c                  |  2 +-
 drivers/hwmon/adt7x10.c                  |  2 +-
 drivers/hwmon/aht10.c                    |  2 +-
 drivers/hwmon/aquacomputer_d5next.c      |  2 +-
 drivers/hwmon/as370-hwmon.c              |  2 +-
 drivers/hwmon/axi-fan-control.c          |  2 +-
 drivers/hwmon/bt1-pvt.c                  |  4 ++--
 drivers/hwmon/corsair-cpro.c             |  2 +-
 drivers/hwmon/corsair-psu.c              |  2 +-
 drivers/hwmon/dell-smm-hwmon.c           |  2 +-
 drivers/hwmon/drivetemp.c                |  2 +-
 drivers/hwmon/emc2305.c                  |  2 +-
 drivers/hwmon/ftsteutates.c              |  2 +-
 drivers/hwmon/gxp-fan-ctrl.c             |  2 +-
 drivers/hwmon/hwmon.c                    |  4 ++--
 drivers/hwmon/i5500_temp.c               |  2 +-
 drivers/hwmon/ina238.c                   |  2 +-
 drivers/hwmon/ina3221.c                  |  2 +-
 drivers/hwmon/intel-m10-bmc-hwmon.c      | 10 +++++-----
 drivers/hwmon/jc42.c                     |  2 +-
 drivers/hwmon/k10temp.c                  |  2 +-
 drivers/hwmon/k8temp.c                   |  2 +-
 drivers/hwmon/lan966x-hwmon.c            |  2 +-
 drivers/hwmon/lm75.c                     |  2 +-
 drivers/hwmon/lm83.c                     |  2 +-
 drivers/hwmon/lm95241.c                  |  2 +-
 drivers/hwmon/lm95245.c                  |  2 +-
 drivers/hwmon/lochnagar-hwmon.c          |  2 +-
 drivers/hwmon/ltc2947-core.c             |  2 +-
 drivers/hwmon/ltc2992.c                  |  2 +-
 drivers/hwmon/ltc4245.c                  |  2 +-
 drivers/hwmon/ltq-cputemp.c              |  2 +-
 drivers/hwmon/max127.c                   |  2 +-
 drivers/hwmon/max31730.c                 |  2 +-
 drivers/hwmon/max31760.c                 |  2 +-
 drivers/hwmon/max31790.c                 |  2 +-
 drivers/hwmon/max6620.c                  |  2 +-
 drivers/hwmon/max6621.c                  |  2 +-
 drivers/hwmon/max6650.c                  |  2 +-
 drivers/hwmon/mc34vr500.c                |  2 +-
 drivers/hwmon/mcp3021.c                  |  2 +-
 drivers/hwmon/mlxreg-fan.c               |  2 +-
 drivers/hwmon/nct7904.c                  |  2 +-
 drivers/hwmon/npcm750-pwm-fan.c          |  2 +-
 drivers/hwmon/ntc_thermistor.c           |  2 +-
 drivers/hwmon/nzxt-kraken2.c             |  2 +-
 drivers/hwmon/nzxt-smart2.c              |  2 +-
 drivers/hwmon/oxp-sensors.c              |  2 +-
 drivers/hwmon/peci/cputemp.c             |  2 +-
 drivers/hwmon/peci/dimmtemp.c            |  2 +-
 drivers/hwmon/powr1220.c                 |  2 +-
 drivers/hwmon/raspberrypi-hwmon.c        |  2 +-
 drivers/hwmon/sbrmi.c                    |  2 +-
 drivers/hwmon/sbtsi_temp.c               |  2 +-
 drivers/hwmon/sch5627.c                  |  2 +-
 drivers/hwmon/sht4x.c                    |  2 +-
 drivers/hwmon/sl28cpld-hwmon.c           |  2 +-
 drivers/hwmon/smpro-hwmon.c              |  2 +-
 drivers/hwmon/sparx5-temp.c              |  2 +-
 drivers/hwmon/sy7636a-hwmon.c            |  2 +-
 drivers/hwmon/tmp102.c                   |  2 +-
 drivers/hwmon/tmp103.c                   |  2 +-
 drivers/hwmon/tmp108.c                   |  2 +-
 drivers/hwmon/tmp464.c                   |  2 +-
 drivers/hwmon/tmp513.c                   |  2 +-
 drivers/hwmon/tps23861.c                 |  2 +-
 drivers/hwmon/w83627ehf.c                |  2 +-
 drivers/hwmon/w83773g.c                  |  2 +-
 include/linux/hwmon.h                    |  2 +-
 74 files changed, 82 insertions(+), 82 deletions(-)