[media] rtl28xxu: fix switch-case style issue
Use break, not return, for every case. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Родитель
bcf4339357
Коммит
55cdb7ddf1
|
@ -907,7 +907,6 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
|
||||||
/* attach SDR */
|
/* attach SDR */
|
||||||
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
|
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
|
||||||
&rtl28xxu_rtl2832_fc0012_config, NULL);
|
&rtl28xxu_rtl2832_fc0012_config, NULL);
|
||||||
return 0;
|
|
||||||
break;
|
break;
|
||||||
case TUNER_RTL2832_FC0013:
|
case TUNER_RTL2832_FC0013:
|
||||||
fe = dvb_attach(fc0013_attach, adap->fe[0],
|
fe = dvb_attach(fc0013_attach, adap->fe[0],
|
||||||
|
@ -920,7 +919,7 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
|
||||||
/* attach SDR */
|
/* attach SDR */
|
||||||
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
|
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
|
||||||
&rtl28xxu_rtl2832_fc0013_config, NULL);
|
&rtl28xxu_rtl2832_fc0013_config, NULL);
|
||||||
return 0;
|
break;
|
||||||
case TUNER_RTL2832_E4000: {
|
case TUNER_RTL2832_E4000: {
|
||||||
struct v4l2_subdev *sd;
|
struct v4l2_subdev *sd;
|
||||||
struct e4000_config e4000_config = {
|
struct e4000_config e4000_config = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче