]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: davinci_mdio: using pm_runtime_resume_and_get instead of pm_runtime_get...
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 18 Apr 2022 06:29:21 +0000 (06:29 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 Apr 2022 12:28:38 +0000 (14:28 +0200)
commit4b193023c989936649d065f2c7378321d1bb352b
treef66310d4ddc7642959d934573b2e239fa535cfca
parent7d904b90349d27d3704d12b9d03e24e856c16223
drivers: net: davinci_mdio: 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/20220418062921.2557884-1-chi.minghao@zte.com.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/davinci_mdio.c