]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw_new: use pm_runtime_resume_and_get() instead of pm_runtime_ge...
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 13 Apr 2022 09:35:29 +0000 (09:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 09:53:46 +0000 (10:53 +0100)
commitbc059a61f5722e233f7af818dd2b24dea22f942c
treee3118e5d5f89d3cc3f9111e6f4b63ff79e7a4bd9
parented8c33acdc3833ac7b24a075b280934ab417fcc4
net: ethernet: ti: cpsw_new: 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_new.c