]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit173048e32534e9dc88cc9451bb6c389ab85d2c66
tree1815076cee0b0a3ab5c5db0716587500cce05927
parent0ac7315fde52eac350417be8e2c25ed9c0b793c7
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