can: flexcan: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 19 Apr 2022 08:14:49 +0000 (08:14 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 19 Apr 2022 15:12:12 +0000 (17:12 +0200)
commite6ec83790593af2d7ad4bae25831baa206780f66
treed5705e2e4acabc562e2c8cfbba3118bc5a124a09
parentbb75e352d7ac35778fc555b02a69edcc03c36e74
can: flexcan: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Link: https://lore.kernel.org/all/20220419081449.2574026-1-chi.minghao@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan/flexcan-core.c