ath10k: fix cleanup in ath10k_thermal_unregister
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Thu, 8 Oct 2015 10:33:03 +0000 (16:03 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Oct 2015 05:59:08 +0000 (08:59 +0300)
commit83cfce87d91f06e37bd38f782f0714b406a95873
treeb36e2ae16d9b78e99fdc103c03a685b3970e136d
parentdb0984e51a187f5bbe41231af7e671cc12586346
ath10k: fix cleanup in ath10k_thermal_unregister

First remove the 'cooling_device#n' syslink created
for ath10k and then unregsiter from the thermal subsystem(cooling)

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.c