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