]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1154cc100de25f9cc44b522974c8437cc0ca7cc8
tree8ab407047d519606881f9d6011caa11a220b6b54
parentff968cc93b84e8845ea214f697b0d1145cbb61de
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