summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-12-06 18:08:20 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-12-16 13:00:41 +0100
commita62ff540559520636e63feb3c9813b0b18920313 (patch)
tree0a40948d540f6dca4a194d75ec47e5fdfc77290a
parent6986ee3f8bd1331d8125c39094605660581f5638 (diff)
downloadlinux-a62ff540559520636e63feb3c9813b0b18920313.tar.gz
linux-a62ff540559520636e63feb3c9813b0b18920313.tar.bz2
linux-a62ff540559520636e63feb3c9813b0b18920313.zip
mmc: jz4740: Convert to pinctrl_select_default_state()
Let's move away from using pinctrl_pm_select_default_state() as it's scheduled for removal and use pinctrl_select_default_state() instead. Cc: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20191206170821.29711-9-ulf.hansson@linaro.org
-rw-r--r--drivers/mmc/host/jz4740_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index 78383f60a3dc..fbae87d1f017 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -1108,7 +1108,7 @@ static int jz4740_mmc_suspend(struct device *dev)
static int jz4740_mmc_resume(struct device *dev)
{
- return pinctrl_pm_select_default_state(dev);
+ return pinctrl_select_default_state(dev);
}
static SIMPLE_DEV_PM_OPS(jz4740_mmc_pm_ops, jz4740_mmc_suspend,