projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf4339
)
[media] rtl28xxu: fix switch-case style issue
author
Antti Palosaari
<crope@iki.fi>
Tue, 4 Feb 2014 02:07:21 +0000
(23:07 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Fri, 14 Mar 2014 08:33:22 +0000
(
05:33
-0300)
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>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 61b420c67ded1fdb57cf3be4498e8408752cab3e..f51949ed493076f70acde261e7887c3d3697303a 100644
(file)
--- a/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@
-907,7
+907,6
@@
static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
/* attach SDR */
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
&rtl28xxu_rtl2832_fc0012_config, NULL);
- return 0;
break;
case TUNER_RTL2832_FC0013:
fe = dvb_attach(fc0013_attach, adap->fe[0],
@@
-920,7
+919,7
@@
static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
/* attach SDR */
dvb_attach(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
&rtl28xxu_rtl2832_fc0013_config, NULL);
-
return 0
;
+
break
;
case TUNER_RTL2832_E4000: {
struct v4l2_subdev *sd;
struct e4000_config e4000_config = {