Merge tag 'hwmon-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

- Add missing dependencies on REGMAP_I2C for several drivers

- Fix memory leak in adt7475 driver

- Relabel Columbiaville temperature sensor in intel-m10-bmc-hwmon
driver to match other sensor labels

* tag 'hwmon-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (max1668) Add missing dependency on REGMAP_I2C
hwmon: (ltc2991) Add missing dependency on REGMAP_I2C
hwmon: (adt7470) Add missing dependency on REGMAP_I2C
hwmon: (adm9240) Add missing dependency on REGMAP_I2C
hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
hwmon: (tmp513) Add missing dependency on REGMAP_I2C
hwmon: (adt7475) Fix memory leak in adt7475_fan_pwm_config()
hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature

+8 -3
+6
drivers/hwmon/Kconfig
··· 162 tristate "Analog Devices ADM9240 and compatibles" 163 depends on I2C 164 select HWMON_VID 165 help 166 If you say yes here you get support for Analog Devices ADM9240, 167 Dallas DS1780, National Semiconductor LM81 sensor chips. ··· 224 config SENSORS_ADT7470 225 tristate "Analog Devices ADT7470" 226 depends on I2C 227 help 228 If you say yes here you get support for the Analog Devices 229 ADT7470 temperature monitoring chips. ··· 1001 config SENSORS_LTC2991 1002 tristate "Analog Devices LTC2991" 1003 depends on I2C 1004 help 1005 If you say yes here you get support for Analog Devices LTC2991 1006 Octal I2C Voltage, Current, and Temperature Monitor. The LTC2991 ··· 1149 config SENSORS_MAX1668 1150 tristate "Maxim MAX1668 and compatibles" 1151 depends on I2C 1152 help 1153 If you say yes here you get support for MAX1668, MAX1989 and 1154 MAX1805 chips. ··· 1279 config SENSORS_MC34VR500 1280 tristate "NXP MC34VR500 hardware monitoring driver" 1281 depends on I2C 1282 help 1283 If you say yes here you get support for the temperature and input 1284 voltage sensors of the NXP MC34VR500. ··· 2317 config SENSORS_TMP513 2318 tristate "Texas Instruments TMP513 and compatibles" 2319 depends on I2C 2320 help 2321 If you say yes here you get support for Texas Instruments TMP512, 2322 and TMP513 temperature and power supply sensor chips.
··· 162 tristate "Analog Devices ADM9240 and compatibles" 163 depends on I2C 164 select HWMON_VID 165 + select REGMAP_I2C 166 help 167 If you say yes here you get support for Analog Devices ADM9240, 168 Dallas DS1780, National Semiconductor LM81 sensor chips. ··· 223 config SENSORS_ADT7470 224 tristate "Analog Devices ADT7470" 225 depends on I2C 226 + select REGMAP_I2C 227 help 228 If you say yes here you get support for the Analog Devices 229 ADT7470 temperature monitoring chips. ··· 999 config SENSORS_LTC2991 1000 tristate "Analog Devices LTC2991" 1001 depends on I2C 1002 + select REGMAP_I2C 1003 help 1004 If you say yes here you get support for Analog Devices LTC2991 1005 Octal I2C Voltage, Current, and Temperature Monitor. The LTC2991 ··· 1146 config SENSORS_MAX1668 1147 tristate "Maxim MAX1668 and compatibles" 1148 depends on I2C 1149 + select REGMAP_I2C 1150 help 1151 If you say yes here you get support for MAX1668, MAX1989 and 1152 MAX1805 chips. ··· 1275 config SENSORS_MC34VR500 1276 tristate "NXP MC34VR500 hardware monitoring driver" 1277 depends on I2C 1278 + select REGMAP_I2C 1279 help 1280 If you say yes here you get support for the temperature and input 1281 voltage sensors of the NXP MC34VR500. ··· 2312 config SENSORS_TMP513 2313 tristate "Texas Instruments TMP513 and compatibles" 2314 depends on I2C 2315 + select REGMAP_I2C 2316 help 2317 If you say yes here you get support for Texas Instruments TMP512, 2318 and TMP513 temperature and power supply sensor chips.
+1 -2
drivers/hwmon/adt7475.c
··· 1735 static int adt7475_fan_pwm_config(struct i2c_client *client) 1736 { 1737 struct adt7475_data *data = i2c_get_clientdata(client); 1738 - struct fwnode_handle *child; 1739 struct adt7475_pwm_config cfg = {}; 1740 int ret; 1741 1742 - device_for_each_child_node(&client->dev, child) { 1743 if (!fwnode_property_present(child, "pwms")) 1744 continue; 1745
··· 1735 static int adt7475_fan_pwm_config(struct i2c_client *client) 1736 { 1737 struct adt7475_data *data = i2c_get_clientdata(client); 1738 struct adt7475_pwm_config cfg = {}; 1739 int ret; 1740 1741 + device_for_each_child_node_scoped(&client->dev, child) { 1742 if (!fwnode_property_present(child, "pwms")) 1743 continue; 1744
+1 -1
drivers/hwmon/intel-m10-bmc-hwmon.c
··· 358 { 0x4f0, 0x4f4, 0x4f8, 0x52c, 0x0, 500, "Board Top Near FPGA Temperature" }, 359 { 0x4fc, 0x500, 0x504, 0x52c, 0x0, 500, "Board Bottom Near CVL Temperature" }, 360 { 0x508, 0x50c, 0x510, 0x52c, 0x0, 500, "Board Top East Near VRs Temperature" }, 361 - { 0x514, 0x518, 0x51c, 0x52c, 0x0, 500, "Columbiaville Die Temperature" }, 362 { 0x520, 0x524, 0x528, 0x52c, 0x0, 500, "Board Rear Side Temperature" }, 363 { 0x530, 0x534, 0x538, 0x52c, 0x0, 500, "Board Front Side Temperature" }, 364 { 0x53c, 0x540, 0x544, 0x0, 0x0, 500, "QSFP1 Case Temperature" },
··· 358 { 0x4f0, 0x4f4, 0x4f8, 0x52c, 0x0, 500, "Board Top Near FPGA Temperature" }, 359 { 0x4fc, 0x500, 0x504, 0x52c, 0x0, 500, "Board Bottom Near CVL Temperature" }, 360 { 0x508, 0x50c, 0x510, 0x52c, 0x0, 500, "Board Top East Near VRs Temperature" }, 361 + { 0x514, 0x518, 0x51c, 0x52c, 0x0, 500, "CVL Die Temperature" }, 362 { 0x520, 0x524, 0x528, 0x52c, 0x0, 500, "Board Rear Side Temperature" }, 363 { 0x530, 0x534, 0x538, 0x52c, 0x0, 500, "Board Front Side Temperature" }, 364 { 0x53c, 0x540, 0x544, 0x0, 0x0, 500, "QSFP1 Case Temperature" },