Browse Source

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>
Sachin Kamat 11 years ago
parent
commit
6653efb75d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/regulator/gpio-regulator.c

+ 0 - 1
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;