]> 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)
commit6cf1c10440c5e8d3b917f03c38895f9ccd0c704e
treea18d732581f96d76529f28423c494f081f0ef035
parent5849139b4d7cf15a0d12c11f175ff682919115fc
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