net: ethernet: ti: am65-cpsw-nuss: using pm_runtime_resume_and_get instead of pm_runt...
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 09:05:15 +0000 (09:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 11:23:31 +0000 (12:23 +0100)
commit2240514cb6441641111ac1fabab03e9df9972d7f
tree3db017379d002b615a38303c0422698f35afa919
parent1b0e81416a24d6e9b8c2341e22e8bf48f8b8bfc9
net: ethernet: ti: am65-cpsw-nuss: 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/am65-cpsw-nuss.c