regulator: stm32-vrefbuf: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 07:10:30 +0000 (07:10 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:04:10 +0000 (12:04 +0100)
commitbfb5711e2455a239ad64dd5151fb16d195329d46
tree146e04e85034d8d66e672d8326a7ed50568234b6
parent619fdc47f821139f312a87b397a75ff69ec6f8b6
regulator: stm32-vrefbuf: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220412071030.2532230-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/stm32-vrefbuf.c