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: 180936 Delivered-To: patches@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1054225ile; Fri, 6 Dec 2019 09:08:38 -0800 (PST) X-Received: by 2002:a2e:8e69:: with SMTP id t9mr9200473ljk.91.1575652118114; Fri, 06 Dec 2019 09:08:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575652118; cv=none; d=google.com; s=arc-20160816; b=FV+iOPQNIbi8B1/9UCht3WGcZPd43uzAP+gfX6xwVs7ajxql5L9aFBF5OJPSNeSBWK brsUhCDauzG8ckL9kfbAKFDvw1k4IZjGliOcJAvfgUTI0aN709T2Ta9L6ydnuSwNTPHJ Y6ViQ88JtudRPREP4FJEdvrX4YGxItsyvTeMHhRJfwaLx5V6JaWm61jtWyeqpdpOq5uq 0LwVkYtL6zLEHSRQPc8WrjHu8axnoZBUe+ZpYP2BNpWd8M7QKyw8dD1O5BukSEszkUOu awFhN3J+xhakaYISz8lfBQd6KDxt6RruIEJYk9tbxNYTk/dWUYH0+Ss1lqcxribHH4ZS MIEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xG/TtMVmPt3YpqGKMEzSfHDWIvjefdWJoE6sWzREm9w=; b=F5B6rgqEAFalM5fF9/pQ3e9qH8KTxO6P4ZFLXhv7fwawVWqWFnqIRM3aPEl2w8DC4A i2x8Jmq8uii8nKgviKn9w4n2vXylfJ9Qpvj7GxD/C+Z+geK0PmGzEynqXR/Ed/yH2/1G a4p7nqHNWBwau8IFhvv5U8FAGyTdryNLEDRUp2WnNY46Wizwfc7YV2LBL72kDO2tH3bf N1CfOSqvHKPCEwRiClrvhmhjo8JT3dLrwR8eb8vICZhxOEG93SMuQMRYRr9OdLHnknpq LbI0La2hFCJAjuYU2+msVGjH+YdoWBWHODAKeAlmwY9Ts8uaPMsrGFIPfpdcA6DNs8xu Qb2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T3j6q9yy; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x15sor4748782lfn.40.2019.12.06.09.08.37 for (Google Transport Security); Fri, 06 Dec 2019 09:08:38 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T3j6q9yy; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=NE6xeE/FanJ4Cgc1GML4Dhp3+KIa2Y4T296ReZ1nAWwh1IxdzeTr9vHG0ecquhVnQv ZJ4aaBA+37FWpoPhjyoRwjZyGYV/jPaVF54Nj6x404VgB/873LSbpJuxvFHhW0b+7jM+ nPMrQetIYJH8kFZmRAJMmtVcp3eWzY9oWwP/J4Uuo40Onbw5PjYW5JwvyrpojbRB2xIh +BXuPmr9Hrv1Qh1Gisx0DRbx97RFef8DufjLfViOGn2LMnacqXQjT88yEQqMTGay9yxS 25IAPm/dgGqS+fTq0n9FAXVUWN0ArIP3rjMeZDJ+rYD3tkmAJX3yGbU7uXhbng0uQkK+ 9gRw== X-Gm-Message-State: APjAAAWrLz2YJ6PLJcGa8eZCy4b5B0hKVKNQFW1A1tIP0HCHlYF2jNBX ktt9rj8YnVAo+K0CE64WAIKrCrtQ 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) Return-Path: 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> 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 --- drivers/mmc/host/jz4740_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Acked-by: Paul Cercueil Acked-by: Linus Walleij 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,