summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-09 13:47:52 -0600
committerMike Isely <isely@pobox.com>2008-02-09 13:47:52 -0600
commite7f8566d3b6b42c6a8679b23118e634f316dbf42 (patch)
tree92d86135db6a72a9b0720f62f35e24681f2fa05d
parent18227ab4c1b20e24a6893029ca4156c1da3876d0 (diff)
downloadmediapointer-dvb-s2-e7f8566d3b6b42c6a8679b23118e634f316dbf42.tar.gz
mediapointer-dvb-s2-e7f8566d3b6b42c6a8679b23118e634f316dbf42.tar.bz2
pvrusb2-dvb: Change usage of 0 --> NULL
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c b/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c
index 3fe7fcf9f..f94c22fed 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c
@@ -423,7 +423,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;