diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-04 11:48:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-04 12:50:10 +0200 |
commit | 6653efb75dcac8fc61191cba9bd6dda99137bc44 (patch) | |
tree | 5c33881e59ad27dc56e068e65c75e15beaf363fc /drivers/regulator/gpio-regulator.c | |
parent | Linux 3.12-rc3 (diff) | |
download | linux-6653efb75dcac8fc61191cba9bd6dda99137bc44.tar.xz linux-6653efb75dcac8fc61191cba9bd6dda99137bc44.zip |
regulator: gpio: Remove redundant break
'break' after goto has no effect. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/gpio-regulator.c')
-rw-r--r-- | drivers/regulator/gpio-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 98a98ffa7fe0..04406a918c04 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -283,7 +283,6 @@ static int gpio_regulator_probe(struct platform_device *pdev) dev_err(&pdev->dev, "No regulator type set\n"); ret = -EINVAL; goto err_memgpio; - break; } drvdata->nr_gpios = config->nr_gpios; |