]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix return error code of wilc_deinit
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 5 Feb 2016 01:35:14 +0000 (10:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit1c10d27c984df63355d1a4622600deef0ce97950
treeddee6536b430b3bea7c1b0919ee81a9f1e5839ac
parent455137c16f324a204454995360fd841fdfa238f7
staging: wilc1000: fix return error code of wilc_deinit

It should be returned error code as -EFAULT instead of 0 when hif_drv is
NULL.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c