V4L/DVB: nGene: use NULL when pointer is needed
authorMárton Németh <nm127@freemail.hu>
Sun, 28 Feb 2010 14:34:35 +0000 (11:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:24 +0000 (00:46 -0300)
commit7b1fc72c2fdeb91565f4969397757ee938cce67e
treee2c763d2c5c97f0d60e8228ea42153a3af7590ad
parent6c9eaa82da53676db830572f5a41aa9ffea133a1
V4L/DVB: nGene: use NULL when pointer is needed

Use NULL when calling a function with pointer parameter, initializing a
pointer and returning a pointer. This will remove the following sparse
warning at different locations (see "make C=1"):
 * warning: Using plain integer as NULL pointer

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c