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)
commit4facbe3d4426720b65354be1d0f5608c65eebc20
treef66310d4ddc7642959d934573b2e239fa535cfca
parent365014f5c39422fa7ccd75b36235155d9041f883
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