wil6210: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 11 Apr 2022 01:36:02 +0000 (01:36 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Sat, 23 Apr 2022 09:31:48 +0000 (12:31 +0300)
commit45286070e9e782f2f53b5272a227fc879fbda2c8
treede59fbe7f8802f13d3c8dc9c98c8cb51132b58a7
parent67888630addeaa2ae1c04d8d020daccbd26d05d9
wil6210: 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 <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220411013602.2517086-1-chi.minghao@zte.com.cn
drivers/net/wireless/ath/wil6210/pm.c