V4L/DVB (7398): Adds an error if priv argument of tuner_callback is NULL
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 Apr 2008 17:46:10 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:53 +0000 (14:07 -0300)
commit0be51b4671b3ae3ae544a0bb3d15b55478b55e72
tree0de42232dc985bfa3d2e9490be89b870702880ff
parent0fea03fbd3aeaa9b4a4de8409e5ef3aca43a6d0b
V4L/DVB (7398): Adds an error if priv argument of tuner_callback is NULL

Adds a consistency check to avoid OOPS, if tuner_callback priv argument is
NULL. Also, simplifies callback codes on cx88.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/saa7134/saa7134-cards.c