]> www.infradead.org Git - users/dwmw2/linux.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)
commitc557a9ae4960a8aaede722833e567897f05aa9ef
treee3118e5d5f89d3cc3f9111e6f4b63ff79e7a4bd9
parentf623f83ae77396a5eda25451335295c0141c8c46
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