diff options
author | Mike Isely <isely@pobox.com> | 2008-02-09 17:47:52 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:47 -0400 |
commit | e6d1186543784222024da9c688766effd2ca3163 (patch) | |
tree | 819009f1f88413544bb722658d75b1264b2dd452 | |
parent | c5317b17f6ca74531a6c707873dc5d25f1877ac3 (diff) |
V4L/DVB (7693): pvrusb2-dvb: Change usage of 0 --> NULL
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-dvb.c b/drivers/media/video/pvrusb2/pvrusb2-dvb.c index 1a7c3ddace07..58ef5caba83a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-dvb.c +++ b/drivers/media/video/pvrusb2/pvrusb2-dvb.c | |||
@@ -405,7 +405,7 @@ struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr) | |||
405 | if (!pvr->hdw->hdw_desc->dvb_props) { | 405 | if (!pvr->hdw->hdw_desc->dvb_props) { |
406 | /* Device lacks a digital interface so don't set up | 406 | /* Device lacks a digital interface so don't set up |
407 | the DVB side of the driver either. For now. */ | 407 | the DVB side of the driver either. For now. */ |
408 | return 0; | 408 | return NULL; |
409 | } | 409 | } |
410 | adap = kzalloc(sizeof(*adap), GFP_KERNEL); | 410 | adap = kzalloc(sizeof(*adap), GFP_KERNEL); |
411 | if (!adap) return adap; | 411 | if (!adap) return adap; |