ath9k: Remove pm_qos request after hw unregister.

Update pm_qos before removing it in deinit_device to prevent this
warning:

pm_qos_update_request() called for unknown object.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by Vivek Natarajan and committed by John W. Linville e8364bb8 dfa31fef

+1 -2
+1 -2
drivers/net/wireless/ath/ath9k/init.c
··· 817 818 ath9k_ps_wakeup(sc); 819 820 - pm_qos_remove_request(&ath9k_pm_qos_req); 821 - 822 wiphy_rfkill_stop_polling(sc->hw->wiphy); 823 ath_deinit_leds(sc); 824 ··· 830 } 831 832 ieee80211_unregister_hw(hw); 833 ath_rx_cleanup(sc); 834 ath_tx_cleanup(sc); 835 ath9k_deinit_softc(sc);
··· 817 818 ath9k_ps_wakeup(sc); 819 820 wiphy_rfkill_stop_polling(sc->hw->wiphy); 821 ath_deinit_leds(sc); 822 ··· 832 } 833 834 ieee80211_unregister_hw(hw); 835 + pm_qos_remove_request(&ath9k_pm_qos_req); 836 ath_rx_cleanup(sc); 837 ath_tx_cleanup(sc); 838 ath9k_deinit_softc(sc);