net: ethernet: ti: cpsw_priv: using pm_runtime_resume_and_get instead of pm_runtime_g...
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 13 Apr 2022 09:38:36 +0000 (09:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 09:53:46 +0000 (10:53 +0100)
commitbe52d266d2930f8963e49de68c59be3ca431b98d
treea18d732581f96d76529f28423c494f081f0ef035
parent85648865bb95e3c2b10d22687fc5998cb5ae37cc
net: ethernet: ti: cpsw_priv: using 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_priv.c