wlcore: main: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 09:17:42 +0000 (09:17 +0000)
committerKalle Valo <kvalo@kernel.org>
Sat, 23 Apr 2022 07:08:09 +0000 (10:08 +0300)
commitab589ac24ee1c00be2ae47aba7ef868394b7fa9c
tree58dc58005e315df23b1a6b8d6743578ba82e5c03
parentdc4246eff026699c48b27d5bae944b664a5c8035
wlcore: main: use 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220412091742.2533527-1-chi.minghao@zte.com.cn
drivers/net/wireless/ti/wlcore/main.c