Commit 3708dc24 authored by Jonathan Bither's avatar Jonathan Bither Committed by John W. Linville

ath5k: add missing iounmap to AHB probe removal

When our driver device is removed on the AHB bus, our IO memory is never unmapped.
Signed-off-by: default avatarJonathan Bither <jonbither@gmail.com>
Reviewed-by: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b948a85c
...@@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev) ...@@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev)
} }
ath5k_deinit_ah(ah); ath5k_deinit_ah(ah);
iounmap(ah->iobase);
platform_set_drvdata(pdev, NULL); platform_set_drvdata(pdev, NULL);
ieee80211_free_hw(hw); ieee80211_free_hw(hw);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment