]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: replace explicit NULL comparisons with !
authorLeo Kim <leo.kim@atmel.com>
Mon, 21 Dec 2015 05:18:23 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
commit7a726e357fc3e56ac7740ce2929bec84cd0471e1
tree52ffdbbec34761df4daaf11f93bf785a40f389a0
parent2c41dd45c50dbe95e4b0d77b8cb4acd94afc292b
staging: wilc1000: replace explicit NULL comparisons with !

This patch replace explicit NULL comparison with ! operator to simplify code.
Reported by checkpatch.pl for Comparison to NULL could be written !XXX" or "XXX".

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c