Message ID | 1530015037-67361-10-git-send-email-vadimp@mellanox.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
Series | mlxsw thermal monitoring amendments | expand |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c index 53e4ef9..65962ed 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c @@ -484,7 +484,8 @@ int mlxsw_thermal_init(struct mlxsw_core *core, if (pwm_active & BIT(i)) { struct thermal_cooling_device *cdev; - cdev = thermal_cooling_device_register("Fan", thermal, + cdev = thermal_cooling_device_register("mlxsw_fan", + thermal, &mlxsw_cooling_ops); if (IS_ERR(cdev)) { err = PTR_ERR(cdev);