mmc: core: Use pm_runtime_resume_and_get() to replace open coding
authorTian Tao <tiantao6@hisilicon.com>
Thu, 20 May 2021 12:21:44 +0000 (20:21 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Jun 2021 11:57:41 +0000 (13:57 +0200)
commit05335af1e82a3ce2a7d410c7b1695a3c4ec37ea9
tree8781cdccebf88bb5f3666abc569e0dd92031eb0c
parent83c49302566ea7328e6962fb81ceada2c93486b9
mmc: core: 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/1621513304-27824-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c