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

Commit 7112b490 authored by Daniel Scheller's avatar Daniel Scheller Committed by Mauro Carvalho Chehab
Browse files

media: stv6111: return NULL instead of plain integer



Fixes:
  stv6111.c:665:24: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarDaniel Scheller <d.scheller@gmx.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent c16ad5de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -669,7 +669,7 @@ struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
		fe->ops.i2c_gate_ctrl(fe, 0);
	if (stat < 0) {
		kfree(state);
		return 0;
		return NULL;
	}
	fe->tuner_priv = state;
	return fe;