From patchwork Fri Dec 6 17:08:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 11276867 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7CAF8109A for ; Fri, 6 Dec 2019 17:08:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 595A621835 for ; Fri, 6 Dec 2019 17:08:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T3j6q9yy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726377AbfLFRIk (ORCPT ); Fri, 6 Dec 2019 12:08:40 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:34687 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbfLFRIj (ORCPT ); Fri, 6 Dec 2019 12:08:39 -0500 Received: by mail-lf1-f68.google.com with SMTP id l18so5837599lfc.1 for ; Fri, 06 Dec 2019 09:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xG/TtMVmPt3YpqGKMEzSfHDWIvjefdWJoE6sWzREm9w=; b=T3j6q9yyJwGRnHfgLKReG38xnZcDjDAGoSs4KkNm6DxdV9IJWSMvIgc8IuTjgqPy2x XQnBk+IP+wLfnwBxIcr+A7ZjXoF4jLZHI55vCBxYMfUM/EPGh1AzGSzLcR/XDlfVs2F9 fxgoiqzdo7IT16q1CPsWg2HXv600IRpsmwp69Wke0RU15Yqsd3DODVLEYPzq/aSPB482 KOl827S/v2o5NJiqDzXxu31GgDYWGNofv06JMYca67U8AFSQ2DjktV0d0T2ELYHAINrB smMvP4jXvNW8YxnoaoPLvoSq4V0qlCYzwZRCvqdxzJfltyF7Lfr3VJEcu4/jAeV4vas/ 0jgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xG/TtMVmPt3YpqGKMEzSfHDWIvjefdWJoE6sWzREm9w=; b=d+Q4mefMVJMGekXDXNVm0EEqoaqMR9e/7+X07WMJo2V7efPAegHXm/KokjoiQ9Ch2g SSn6I0H8OLhnAomp6LMWPdNmzVbPKCxtW7TLIAedypP+ksz3Fp0nThUB4/V48GollM/j zxVfluGkUFYJHuwSvJWbeO5TXkreGJ/1NU4K9KftFTUoLZiNSOWDMjX0ma9FeXn0yCYL grgDIgOJYZq1G+EVe2W7TBtio3NFCHrQvxOTR/bidDEBbi2/KG/FsVx0qMfCpU9e3Q9o OA1lw1xmUWYwwUYwQWH736frGV+iX7yqQCdGmyLfm6NmAaQpaEEhVJrS1mzSWeHysxZe mSog== X-Gm-Message-State: APjAAAWahknCmjq9c1T2oiUvQhos4kNcQQaxLpi0ae4iIqTi49/v5jBD J/WjxNNrYTWVQXNniBkzKCfmtw== X-Google-Smtp-Source: APXvYqx+65bHTzp79RZZPbKO9pZhUqV0hmJgvWeR0vfzi0w5W1n7PA9yW/kjlvKOR9fmTzlvKt4jgQ== X-Received: by 2002:a05:6512:284:: with SMTP id j4mr8351775lfp.109.1575652117781; Fri, 06 Dec 2019 09:08:37 -0800 (PST) Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id z9sm6905283ljm.40.2019.12.06.09.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 09:08:37 -0800 (PST) From: Ulf Hansson To: linux-gpio@vger.kernel.org, Linus Walleij Cc: linux-mmc@vger.kernel.org, Ulf Hansson , Paul Cercueil Subject: [PATCH 8/9] mmc: jz4740: Convert to pinctrl_select_default_state() Date: Fri, 6 Dec 2019 18:08:20 +0100 Message-Id: <20191206170821.29711-9-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191206170821.29711-1-ulf.hansson@linaro.org> References: <20191206170821.29711-1-ulf.hansson@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org 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 Signed-off-by: Ulf Hansson Acked-by: Paul Cercueil Acked-by: Linus Walleij --- drivers/mmc/host/jz4740_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,