dmaengine: tegra210-adma: Using pm_runtime_resume_and_get to replace open coding
authorZhang Qilong <zhangqilong3@huawei.com>
Mon, 7 Jun 2021 06:46:40 +0000 (14:46 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Jul 2021 07:24:38 +0000 (12:54 +0530)
commit059e969c2a7d9efb463c0d8c574f1b3f1e010bed
tree511926bbb2fdbede7dcc0958fe6905c6a6a63a09
parent48ae638be56b43cde9ddca20fc5678401886f5db
dmaengine: tegra210-adma: Using pm_runtime_resume_and_get to replace open coding

use pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. this change is just to simplify the code,
there is no actual functional change.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20210607064640.121394-4-zhangqilong3@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra210-adma.c