* @cb: digital TV callbacks. depending on the feed type, it can be:
* if the feed is TS, it contains a dmx_ts_cb() @ts callback;
* if the feed is section, it contains a dmx_section_cb() @sec
- * callback.
+ * callback.
*
* @demux: pointer to &struct dvb_demux.
* @priv: private data that can optionally be used by a DVB driver.
dev_dbg(fe->dvb->device, "%s:\n", __func__);
- switch(cmd) {
+ switch (cmd) {
case FE_SET_PROPERTY: {
struct dtv_properties *tvps = parg;
struct dtv_property *tvp = NULL;
}
}
for (i = 0; i < tvps->num; i++) {
- err = dtv_property_process_get(fe, &getp, tvp + i, file);
+ err = dtv_property_process_get(fe, &getp,
+ tvp + i, file);
if (err < 0) {
kfree(tvp);
return err;
case FE_DISEQC_RECV_SLAVE_REPLY:
if (fe->ops.diseqc_recv_slave_reply)
- err = fe->ops.diseqc_recv_slave_reply(fe, (struct dvb_diseqc_slave_reply*) parg);
+ err = fe->ops.diseqc_recv_slave_reply(fe, parg);
break;
case FE_ENABLE_HIGH_LNB_VOLTAGE:
case FE_READ_BER:
if (fe->ops.read_ber) {
if (fepriv->thread)
- err = fe->ops.read_ber(fe, (__u32 *) parg);
+ err = fe->ops.read_ber(fe, parg);
else
err = -EAGAIN;
}
case FE_READ_SIGNAL_STRENGTH:
if (fe->ops.read_signal_strength) {
if (fepriv->thread)
- err = fe->ops.read_signal_strength(fe, (__u16 *) parg);
+ err = fe->ops.read_signal_strength(fe, parg);
else
err = -EAGAIN;
}
case FE_READ_SNR:
if (fe->ops.read_snr) {
if (fepriv->thread)
- err = fe->ops.read_snr(fe, (__u16 *) parg);
+ err = fe->ops.read_snr(fe, parg);
else
err = -EAGAIN;
}
case FE_READ_UNCORRECTED_BLOCKS:
if (fe->ops.read_ucblocks) {
if (fepriv->thread)
- err = fe->ops.read_ucblocks(fe, (__u32 *) parg);
+ err = fe->ops.read_ucblocks(fe, parg);
else
err = -EAGAIN;
}