[media] drivers/media: Remove unnecessary semicolon
A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> [mchehab@redhat.com: some hunks got bitroted; applied only the ones that succeeds] Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> [crope@iki.fi: For my drivers a8293, af9013, af9015, af9035] Acked-by: Antti Palosaari <crope@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
54fd321e13
commit
c2c1b4156a
@@ -241,7 +241,7 @@ static int af9013_set_gpio(struct af9013_state *state, u8 gpio, u8 gpioval)
|
||||
KBUILD_MODNAME, gpio);
|
||||
ret = -EINVAL;
|
||||
goto err;
|
||||
};
|
||||
}
|
||||
|
||||
switch (gpio) {
|
||||
case 0:
|
||||
@@ -253,7 +253,7 @@ static int af9013_set_gpio(struct af9013_state *state, u8 gpio, u8 gpioval)
|
||||
default:
|
||||
pos = 4;
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
ret = af9013_wr_reg_bits(state, addr, pos, 4, gpioval);
|
||||
if (ret)
|
||||
@@ -726,7 +726,7 @@ static int af9013_set_frontend(struct dvb_frontend *fe)
|
||||
default:
|
||||
dev_dbg(&state->i2c->dev, "%s: invalid hierarchy\n", __func__);
|
||||
auto_mode = 1;
|
||||
};
|
||||
}
|
||||
|
||||
switch (c->modulation) {
|
||||
case QAM_AUTO:
|
||||
|
||||
Reference in New Issue
Block a user