diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-05-20 20:21:44 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-06-14 13:57:41 +0200 |
commit | 05335af1e82a3ce2a7d410c7b1695a3c4ec37ea9 (patch) | |
tree | 8781cdccebf88bb5f3666abc569e0dd92031eb0c /drivers/mmc/host/sdhci-of-sparx5.c | |
parent | 83c49302566ea7328e6962fb81ceada2c93486b9 (diff) |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-sparx5.c')
0 files changed, 0 insertions, 0 deletions