diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2021-09-26 07:35:41 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-10-12 16:22:41 +0200 |
commit | b2be2422c0c98b00f21c4331e2d9342bd58bfdba (patch) | |
tree | dc3c35c4b3534abe73cfce5fc3adddd67e299ca5 /drivers/hwmon/adt7411.c | |
parent | hwmon: (mlxreg-fan) Modify PWM connectivity validation (diff) | |
download | linux-b2be2422c0c98b00f21c4331e2d9342bd58bfdba.tar.xz linux-b2be2422c0c98b00f21c4331e2d9342bd58bfdba.zip |
hwmon: (mlxreg-fan) Support distinctive names per different cooling devices
Provide different names for cooling devices registration to allow
binding each cooling devices to relevant thermal zone. Thus, specific
cooling device can be associated with related thermal sensor by setting
thermal cooling device type for example to "mlxreg_fan2" and passing
this type to thermal_zone_bind_cooling_device() through 'cdev->type'.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20210926053541.1806937-3-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7411.c')
0 files changed, 0 insertions, 0 deletions