]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (7693): pvrusb2-dvb: Change usage of 0 --> NULL
authorMike Isely <isely@pobox.com>
Sat, 9 Feb 2008 22:47:52 +0000 (19:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:47 +0000 (14:09 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-dvb.c

index 1a7c3ddace07b8c7bc372213ff996d2bd0f9f3ba..58ef5caba83a29d324aec72cdd577acc74c6b192 100644 (file)
@@ -405,7 +405,7 @@ struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr)
        if (!pvr->hdw->hdw_desc->dvb_props) {
                /* Device lacks a digital interface so don't set up
                   the DVB side of the driver either.  For now. */
-               return 0;
+               return NULL;
        }
        adap = kzalloc(sizeof(*adap), GFP_KERNEL);
        if (!adap) return adap;