staging: media: davinci_vpfe: Replace explicit NULL comparison with ! operator
authorsayli karnik <karniksayli1995@gmail.com>
Fri, 16 Sep 2016 17:59:30 +0000 (23:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:53 +0000 (23:36 +0200)
commita0db9c0a529d4407a1ed4bf697a09f50ae3e9744
tree2a14b84b782e0fc9efabd411aca5548df661f2bc
parentf9c7cb1cb5e1d81d24bf2d2c79229a3f25ab7e5d
staging: media: davinci_vpfe: Replace explicit NULL comparison with ! operator

This patch replaces the explicit NULL comparisons with ! operator.
It was found using Coccinelle:

@disable is_null@
expression e;
@@
- e == NULL
+ !e

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/davinci_vpfe/vpfe_video.c