Commit 68226b4d authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab

[media] dvb-tc90522: Rename a jump label in tc90522_probe()

Adjust a jump label according to the Linux coding style convention.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d2dc12d6
...@@ -794,14 +794,13 @@ static int tc90522_probe(struct i2c_client *client, ...@@ -794,14 +794,13 @@ static int tc90522_probe(struct i2c_client *client,
i2c_set_adapdata(adap, state); i2c_set_adapdata(adap, state);
ret = i2c_add_adapter(adap); ret = i2c_add_adapter(adap);
if (ret < 0) if (ret < 0)
goto err; goto free_state;
cfg->tuner_i2c = state->cfg.tuner_i2c = adap; cfg->tuner_i2c = state->cfg.tuner_i2c = adap;
i2c_set_clientdata(client, &state->cfg); i2c_set_clientdata(client, &state->cfg);
dev_info(&client->dev, "Toshiba TC90522 attached.\n"); dev_info(&client->dev, "Toshiba TC90522 attached.\n");
return 0; return 0;
free_state:
err:
kfree(state); kfree(state);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment