]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1e83773456ea6328f624ce16a7550d33344c90c
tree146e04e85034d8d66e672d8326a7ed50568234b6
parent1b671ab1410cfcd279686061b904b8883f992f7c
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