diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-04 15:18:18 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-04 11:50:10 +0100 |
commit | 6653efb75dcac8fc61191cba9bd6dda99137bc44 (patch) | |
tree | 5c33881e59ad27dc56e068e65c75e15beaf363fc /drivers/regulator/gpio-regulator.c | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) | |
download | blackbird-op-linux-6653efb75dcac8fc61191cba9bd6dda99137bc44.tar.gz blackbird-op-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; |