From 38f78539d5502f1376c4c57958b863533eae1a8e Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Mon, 28 Mar 2016 17:57:35 +0200 Subject: mwlwifi: enable for 88W8864 too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- thermal.c | 6 ------ 1 file changed, 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); } -- cgit v1.2.3