]> 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)
commita218951ffa7929c7b880972207dda5a788337d5e
tree9dc00820eb6b16cc5a0184cfa8282cd24d39d736
parentdad97a41904d0a9a99b0a3ac772591fe2db3f77e
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