diff options
Diffstat (limited to 'thermal.c')
-rw-r--r-- | thermal.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -124,9 +124,6 @@ int mwl_thermal_register(struct mwl_priv *priv) struct device *hwmon_dev; int ret; - if (priv->chip_type != MWL8897) - return 0; - cdev = thermal_cooling_device_register("mwlwifi_thermal", priv, &mwl_thermal_ops); if (IS_ERR(cdev)) { @@ -174,9 +171,6 @@ err_cooling_destroy: void mwl_thermal_unregister(struct mwl_priv *priv) { - if (priv->chip_type != MWL8897) - return; - sysfs_remove_link(&priv->dev->kobj, "cooling_device"); thermal_cooling_device_unregister(priv->cdev); } |