ath10k: use devm_reset_control_get() instead of reset_control_get()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 26 Sep 2016 18:56:23 +0000 (21:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2016 12:11:48 +0000 (15:11 +0300)
commitc5d8a34675d9160493a990007ae85ced02241d29
tree8ab407047d519606881f9d6011caa11a220b6b54
parent828662753d60e5f95d082dd50dfc6ce1abe82095
ath10k: use devm_reset_control_get() instead of reset_control_get()

Use the managed variant of reset_control_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