]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-omap: Use pm_runtime_resume_and_get() to replace open coding
authorTian Tao <tiantao6@hisilicon.com>
Fri, 21 May 2021 01:02:45 +0000 (09:02 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 May 2021 13:38:42 +0000 (15:38 +0200)
commit094c0a75403923886309688ad49148dd1f764b94
tree9e1cf857532801b29e5181a943f98b9799c506fd
parentef9d2580da10c26e9772efe462d5cd887345945a
mmc: sdhci-omap: 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/1621558965-34077-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c