wlcore: debugfs: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 8 Apr 2022 08:12:05 +0000 (08:12 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 12 Apr 2022 13:53:29 +0000 (16:53 +0300)
commitb2268fd81c18302ed3443db09b7f06d52e6dcf03
tree3d07f03a15adea8ea072e92c85c4b25b3d0c32df
parentb9eb5f0742d107ca9c0f33da58f61ce83e3ce2fc
wlcore: debugfs: 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/20220408081205.2494512-1-chi.minghao@zte.com.cn
drivers/net/wireless/ti/wlcore/debugfs.c