]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: davinci_emac: using pm_runtime_resume_and_get instead of pm_runtim...
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 14 Apr 2022 09:08:00 +0000 (09:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 10:18:24 +0000 (11:18 +0100)
commitbbc26e0cda0f64259c644dc822084329a787a2a9
treec424db7a808794bdf415d281912596ea7878f882
parentbade598590d50a7eec2bbe04fb2285897062ddda
net: ethernet: ti: davinci_emac: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. This change is just to simplify the code, no
actual functional changes.

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/davinci_emac.c