]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec1a9e4f139e1ef2a6138facaa21e5e090a9e024
treed5705e2e4acabc562e2c8cfbba3118bc5a124a09
parenta3c55c3090c5380f75a1a2b9e75e375f48792968
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