diff options
author | Masahiro Yamada | 2016-09-26 21:56:24 +0300 |
---|---|---|
committer | Kalle Valo | 2016-09-27 15:11:52 +0300 |
commit | 65901a9e70584afb840b1c013d582d07b7f61696 (patch) | |
tree | 48d9cd752c375261f35dc0c6bca6d2f8be1fee43 /drivers/md/dm-ioctl.c | |
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>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions