projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2dc12d
)
[media] dvb-tc90522: Rename a jump label in tc90522_probe()
author
Markus Elfring
<
[email protected]
>
Fri, 7 Oct 2016 19:13:57 +0000
(16:13 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Wed, 16 Nov 2016 14:16:52 +0000
(12:16 -0200)
Adjust a jump label according to the Linux coding style convention.
Signed-off-by: Markus Elfring <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb-frontends/tc90522.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/tc90522.c
b/drivers/media/dvb-frontends/tc90522.c
index c2d45f0713312468a2b3546fa9616d9ed2db5bc7..4687e1546af22d193956f70be4e86b7d117d08e9 100644
(file)
--- a/
drivers/media/dvb-frontends/tc90522.c
+++ b/
drivers/media/dvb-frontends/tc90522.c
@@
-794,14
+794,13
@@
static int tc90522_probe(struct i2c_client *client,
i2c_set_adapdata(adap, state);
ret = i2c_add_adapter(adap);
if (ret < 0)
- goto
err
;
+ goto
free_state
;
cfg->tuner_i2c = state->cfg.tuner_i2c = adap;
i2c_set_clientdata(client, &state->cfg);
dev_info(&client->dev, "Toshiba TC90522 attached.\n");
return 0;
-
-err:
+free_state:
kfree(state);
return ret;
}