diff --git a/drivers/power/regulator/pwm_regulator.c b/drivers/power/regulator/pwm_regulator.c index 29bceb5858..ffa26a1c6c 100644 --- a/drivers/power/regulator/pwm_regulator.c +++ b/drivers/power/regulator/pwm_regulator.c @@ -106,7 +106,6 @@ static int pwm_regulator_ofdata_to_platdata(struct udevice *dev) priv->init_voltage = dev_read_u32_default(dev, "regulator-init-microvolt", -1); if (priv->init_voltage < 0) { printf("Cannot find regulator pwm init_voltage\n"); - return -EINVAL; } ret = uclass_get_device_by_ofnode(UCLASS_PWM, args.node, &priv->pwm);