commit | 65901a9e70584afb840b1c013d582d07b7f61696 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Mon Sep 26 21:56:24 2016 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue Sep 27 15:11:52 2016 +0300 |
tree | 48d9cd752c375261f35dc0c6bca6d2f8be1fee43 | |
parent | c5d8a34675d9160493a990007ae85ced02241d29 [diff] |
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>