summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-07 16:13:57 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 12:16:52 -0200
commit68226b4dfa9b2e064e2f9e792bf7469f465054c7 (patch)
tree608976212b2cc80695a7aaa406da98cce93d00a1 /drivers/media/dvb-frontends
parentd2dc12d6c8325d1093ffb142315f6b4fc53f95e7 (diff)
downloadlinux-0-day-68226b4dfa9b2e064e2f9e792bf7469f465054c7.tar.gz
linux-0-day-68226b4dfa9b2e064e2f9e792bf7469f465054c7.tar.xz
[media] dvb-tc90522: Rename a jump label in tc90522_probe()
Adjust a jump label according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/tc90522.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c
index c2d45f0713312..4687e1546af22 100644
--- 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;
}