staging: wilc1000: host_int_init: fix kzalloc error check
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 09:34:56 +0000 (18:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:29:51 +0000 (02:29 +0200)
commit1604296d20a7d278f525a8134e2db1a727b2fdd1
tree1701a6c3dbeca61baf1bcfcb276db887241e8042
parent27a82ebf920123978d74d51fe7ce94579e372f94
staging: wilc1000: host_int_init: fix kzalloc error check

This patch fixes error check when kzalloc is failed.
NULL comparison style is changed to use ! operator and
PRINT_ER is also removed.

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