mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
stv6111: return NULL instead of plain integer
Fixes sparse warning: frontends/stv6111.c:735:24: warning: Using plain integer as NULL pointer
This commit is contained in:
parent
5751c3fb1a
commit
8ce7f0bb63
@ -732,7 +732,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;
|
||||
|
Loading…
Reference in New Issue
Block a user