[media] DaVinci-VPIF-Capture: Adjust ten checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 13:20:34 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 15:00:30 +0000 (13:00 -0200)
commit03161cdb69ef98434a2c8e85234aae7975ca4501
treeb96e9d0d634127707f7be59872cd020a5d507295
parentbc285799f7e8c61eaacdd73aa8644b1eaf504bb4
[media] DaVinci-VPIF-Capture: Adjust ten checks for null pointers

The script "checkpatch.pl" pointed information out like the following.

Comparison to NULL could be written ...

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpif_capture.c