mmc: sdhci_am654: Use pm_runtime_resume_and_get() to replace open coding
authorTian Tao <tiantao6@hisilicon.com>
Fri, 21 May 2021 00:59:35 +0000 (08:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Jun 2021 11:57:41 +0000 (13:57 +0200)
commit07e70346e21eb8f018c8478cc4881ad9026bb12e
tree46823d47381b0d9e64fb6f9816d133ea23fd6f91
parent05335af1e82a3ce2a7d410c7b1695a3c4ec37ea9
mmc: sdhci_am654: Use 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, no
actual functional changes.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1621558775-31185-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c