goto error;
s->d = d;
-
- memcpy(&s->fe.ops,&vp702x_fe_ops,sizeof(struct dvb_frontend_ops));
+ s->fe.ops = &vp702x_fe_ops;
s->fe.demodulator_priv = s;
s->lnb_buf[1] = SET_LNB_POWER;
s->lnb_buf[3] = 0xff; /* 0=tone burst, 2=data burst, ff=off */
- return &s->fe;
+ goto success;
error:
return NULL;
+success:
+ return &s->fe;
}