mmc: atmel-mci: 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: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191206170821.29711-8-ulf.hansson@linaro.org
This commit is contained in:
Ulf Hansson 2019-12-06 18:08:19 +01:00
Родитель 2480b72071
Коммит 6986ee3f8b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2645,7 +2645,7 @@ static int atmci_runtime_resume(struct device *dev)
{
struct atmel_mci *host = dev_get_drvdata(dev);
pinctrl_pm_select_default_state(dev);
pinctrl_select_default_state(dev);
return clk_prepare_enable(host->mck);
}