projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da71ed5
)
upstream: [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
Chanho Park
<chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:29 +0000
(14:26 +0900)
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
6c4f766
..
895648e
100644
(file)
--- a/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@
-927,7
+927,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],
@@
-940,7
+939,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 = {