Commit f55ec27f authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

ASoC: wm2200: Remove empty labels

Removed unnecessary labels probably left out of some previous cleanup.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 5b94e181
...@@ -2205,7 +2205,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, ...@@ -2205,7 +2205,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
ret = PTR_ERR(wm2200->regmap); ret = PTR_ERR(wm2200->regmap);
dev_err(&i2c->dev, "Failed to allocate register map: %d\n", dev_err(&i2c->dev, "Failed to allocate register map: %d\n",
ret); ret);
goto err; return ret;
} }
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
...@@ -2238,7 +2238,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, ...@@ -2238,7 +2238,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
if (ret != 0) { if (ret != 0) {
dev_err(&i2c->dev, "Failed to request core supplies: %d\n", dev_err(&i2c->dev, "Failed to request core supplies: %d\n",
ret); ret);
goto err_regmap; return ret;
} }
ret = regulator_bulk_enable(ARRAY_SIZE(wm2200->core_supplies), ret = regulator_bulk_enable(ARRAY_SIZE(wm2200->core_supplies),
...@@ -2246,7 +2246,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, ...@@ -2246,7 +2246,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
if (ret != 0) { if (ret != 0) {
dev_err(&i2c->dev, "Failed to enable core supplies: %d\n", dev_err(&i2c->dev, "Failed to enable core supplies: %d\n",
ret); ret);
goto err_core; return ret;
} }
if (wm2200->pdata.ldo_ena) { if (wm2200->pdata.ldo_ena) {
...@@ -2382,9 +2382,6 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, ...@@ -2382,9 +2382,6 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
err_enable: err_enable:
regulator_bulk_disable(ARRAY_SIZE(wm2200->core_supplies), regulator_bulk_disable(ARRAY_SIZE(wm2200->core_supplies),
wm2200->core_supplies); wm2200->core_supplies);
err_core:
err_regmap:
err:
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