summaryrefslogtreecommitdiff
path: root/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'thermal.c')
-rw-r--r--thermal.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/thermal.c b/thermal.c
index dc05d4b..bbb6e9d 100644
--- a/thermal.c
+++ b/thermal.c
@@ -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);
}