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:
Родитель
2480b72071
Коммит
6986ee3f8b
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче