]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 24 May 2021 13:38:24 +0000 (15:38 +0200)
commit97ef5413beb1f1fefe3293d5fcac7e7bdd8f17b9
treeb5f64e4c91484dc347da43c67065f17ed7392a18
parentc4a0252bdb3523dc3dc25c70b97d6c82fca2b90b
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