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>
This commit is contained in:
Родитель
15c03dd485
Коммит
6653efb75d
|
@ -283,7 +283,6 @@ static int gpio_regulator_probe(struct platform_device *pdev)
|
||||||
dev_err(&pdev->dev, "No regulator type set\n");
|
dev_err(&pdev->dev, "No regulator type set\n");
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto err_memgpio;
|
goto err_memgpio;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
drvdata->nr_gpios = config->nr_gpios;
|
drvdata->nr_gpios = config->nr_gpios;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче