regulator: rpm-smd: Update sync_state call

Call sync_state for regulator resource to remove proxy votes
in late bootup.

Change-Id: I329c1f6a6a67876108d5f07b0b7e6b328e43d878
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
This commit is contained in:
Jishnu Prakash 2020-08-28 18:51:51 +05:30
parent 4141c87590
commit 843c2bdb8d

View File

@ -1922,7 +1922,6 @@ static struct platform_driver rpm_vreg_device_driver = {
.driver = {
.name = "qcom,rpm-smd-regulator",
.of_match_table = rpm_vreg_match_table_device,
.sync_state = regulator_proxy_consumer_sync_state,
},
};
@ -1932,6 +1931,7 @@ static struct platform_driver rpm_vreg_resource_driver = {
.driver = {
.name = "qcom,rpm-smd-regulator-resource",
.of_match_table = rpm_vreg_match_table_resource,
.sync_state = regulator_proxy_consumer_sync_state,
},
};