Merge remote-tracking branch 'regulator/fix/gpio' into regulator-linus
[profile/ivi/kernel-x86-ivi.git] / drivers / regulator / gpio-regulator.c
index bcd827c..234960d 100644 (file)
@@ -288,7 +288,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;