staging: media: atomisp: Replace NULL comparison.
authorVarsha Rao <rvarsha016@gmail.com>
Sat, 4 Mar 2017 17:24:09 +0000 (22:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 10:17:41 +0000 (11:17 +0100)
commitc9d9602f36d0b4fb2ac55506cffddc797a3954fc
tree94dc1214a7c136d3633bb7c1b19429cac7e126ab
parentda79269d98a59bd1a129577da808da08df353ffa
staging: media: atomisp: Replace NULL comparison.

Replaced x == NULL with !x, by using the following coccinelle script:

@disable is_null@
expression e;
@@

-e==NULL
+!e

This patch fixes the checkpatch issue.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/i2c/gc0310.c
drivers/staging/media/atomisp/i2c/gc2235.c
drivers/staging/media/atomisp/i2c/ov2680.c
drivers/staging/media/atomisp/i2c/ov2722.c