summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2016-03-28 17:57:35 +0200
committerBjørn Mork <bjorn@mork.no>2016-03-28 17:57:35 +0200
commit38f78539d5502f1376c4c57958b863533eae1a8e (patch)
tree2d99bc07cf2c048b7ea45445780d1a25315d1bd5
parent081b775d515cc53a95ee3ef777f44719b0d57f04 (diff)
mwlwifi: enable for 88W8864 too20160328-5
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-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);
}