ath10k: sdio: fix memory leak for probe allocations
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Tue, 27 Mar 2018 20:31:44 +0000 (22:31 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Apr 2018 14:30:50 +0000 (17:30 +0300)
commitec2c64e202576295bdef8edd18c67428a378cc16
tree17d267bf55a042ddbaadf07f3ae5abd643ecc741
parentdb5a4d5e1073be452645d7021eeaf807d70325a2
ath10k: sdio: fix memory leak for probe allocations

These allocations are not freed upon release.
When on it; go for managed resources instead.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[kvalo: fix two checkpatch warnings]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/sdio.c