diff options
author | Bjørn Mork <bjorn@mork.no> | 2016-03-28 17:57:35 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2016-03-28 17:57:35 +0200 |
commit | 38f78539d5502f1376c4c57958b863533eae1a8e (patch) | |
tree | 2d99bc07cf2c048b7ea45445780d1a25315d1bd5 | |
parent | 081b775d515cc53a95ee3ef777f44719b0d57f04 (diff) |
mwlwifi: enable for 88W8864 too20160328-5
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-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); } |