]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita45a72fa086cb5f42c93f83172cfa2b969c4b6d0
treea18d732581f96d76529f28423c494f081f0ef035
parent2a4be5f3f82a3ef39aa283b4a93dfaa04101149e
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