ath10k: do not check if reset is NULL
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 26 Sep 2016 18:56:24 +0000 (21:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2016 12:11:52 +0000 (15:11 +0300)
commit65901a9e70584afb840b1c013d582d07b7f61696
tree48d9cd752c375261f35dc0c6bca6d2f8be1fee43
parentc5d8a34675d9160493a990007ae85ced02241d29
ath10k: do not check if reset is NULL

Since reset_control_get() never returns NULL, we can use IS_ERR()
instead of IS_ERR_OR_NULL().  The return statements can be simpler
as well.

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