Loading drivers/regulator/rpm-smd-regulator.c +2 −2 Original line number Diff line number Diff line Loading @@ -1316,7 +1316,7 @@ static int rpm_vreg_device_remove(struct platform_device *pdev) rpm_vreg = reg->rpm_vreg; rpm_vreg_lock(rpm_vreg); regulator_unregister(reg->rdev); devm_regulator_proxy_consumer_unregister(dev); devm_regulator_proxy_consumer_unregister(pdev->dev.parent); list_del(®->list); kfree(reg); rpm_vreg_unlock(rpm_vreg); Loading Loading @@ -1646,7 +1646,7 @@ static int rpm_vreg_device_probe(struct platform_device *pdev) goto fail_remove_from_list; } rc = devm_regulator_proxy_consumer_register(dev, node); rc = devm_regulator_proxy_consumer_register(pdev->dev.parent, node); if (rc) vreg_err(reg, "failed to register proxy consumer, rc=%d\n", rc); Loading Loading
drivers/regulator/rpm-smd-regulator.c +2 −2 Original line number Diff line number Diff line Loading @@ -1316,7 +1316,7 @@ static int rpm_vreg_device_remove(struct platform_device *pdev) rpm_vreg = reg->rpm_vreg; rpm_vreg_lock(rpm_vreg); regulator_unregister(reg->rdev); devm_regulator_proxy_consumer_unregister(dev); devm_regulator_proxy_consumer_unregister(pdev->dev.parent); list_del(®->list); kfree(reg); rpm_vreg_unlock(rpm_vreg); Loading Loading @@ -1646,7 +1646,7 @@ static int rpm_vreg_device_probe(struct platform_device *pdev) goto fail_remove_from_list; } rc = devm_regulator_proxy_consumer_register(dev, node); rc = devm_regulator_proxy_consumer_register(pdev->dev.parent, node); if (rc) vreg_err(reg, "failed to register proxy consumer, rc=%d\n", rc); Loading