]> 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)
commitf47be3b4a12e7e98995e1e9e9d550db992112281
treec424db7a808794bdf415d281912596ea7878f882
parent2e1c4991951c19cfd8b85e22d61dbae78ae4ffb4
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