Skip to content

Commit

Permalink
regulator: gpio: Remove redundant break
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Oct 4, 2013
1 parent 15c03dd commit 6653efb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/regulator/gpio-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6653efb

Please sign in to comment.