Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6d11865 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7693): pvrusb2-dvb: Change usage of 0 --> NULL

parent c5317b17
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -405,7 +405,7 @@ struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr)
	if (!pvr->hdw->hdw_desc->dvb_props) {
	if (!pvr->hdw->hdw_desc->dvb_props) {
		/* Device lacks a digital interface so don't set up
		/* Device lacks a digital interface so don't set up
		   the DVB side of the driver either.  For now. */
		   the DVB side of the driver either.  For now. */
		return 0;
		return NULL;
	}
	}
	adap = kzalloc(sizeof(*adap), GFP_KERNEL);
	adap = kzalloc(sizeof(*adap), GFP_KERNEL);
	if (!adap) return adap;
	if (!adap) return adap;