diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-04 09:48:18 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-04 10:50:10 (GMT) |
commit | 6653efb75dcac8fc61191cba9bd6dda99137bc44 (patch) | |
tree | 5c33881e59ad27dc56e068e65c75e15beaf363fc /drivers/regulator/gpio-regulator.c | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) | |
download | linux-fsl-qoriq-6653efb75dcac8fc61191cba9bd6dda99137bc44.tar.xz |
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 98a98ff..04406a9 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; |