]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 8 Apr 2022 08:12:50 +0000 (08:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 03:31:59 +0000 (20:31 -0700)
commit34db67dfaf6ca070d4e6fe386901a9cc051085df
tree9dc00820eb6b16cc5a0184cfa8282cd24d39d736
parente22d0cf5149bc125e36b5f3c68724ad7a62ec144
net: stmmac: 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>
Link: https://lore.kernel.org/r/20220408081250.2494588-1-chi.minghao@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c