forked from luck/tmp_suning_uos_patched
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: Jonathan Bither <jonbither@gmail.com> Reviewed-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b948a85c1f
commit
3708dc2489
@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
ath5k_deinit_ah(ah);
|
||||
iounmap(ah->iobase);
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
ieee80211_free_hw(hw);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user