ath10k: use devm_clk_get() instead of clk_get()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 26 Sep 2016 18:56:22 +0000 (21:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2016 12:11:43 +0000 (15:11 +0300)
commit828662753d60e5f95d082dd50dfc6ce1abe82095
tree1815076cee0b0a3ab5c5db0716587500cce05927
parente13dbead976d79968bd616b924f300cdaf15f852
ath10k: use devm_clk_get() instead of clk_get()

Use the managed variant of clk_get() to simplify the failure path
and the .remove callback.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ahb.c