From patchwork Fri Dec 6 17:08:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 180935 Delivered-To: patches@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1054191ile; Fri, 6 Dec 2019 09:08:36 -0800 (PST) X-Received: by 2002:ac2:5a1a:: with SMTP id q26mr8774854lfn.33.1575652116721; Fri, 06 Dec 2019 09:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575652116; cv=none; d=google.com; s=arc-20160816; b=MEi86c/Y+MO767FRRWs57sXsmaL3iIKIdKcx2pGk6sARnOefbYwPnmewz17wToKdL8 wfM/sRXBFsM1ALarY/fKnbEn4R8N2mkMjBwesV9n6zvqRnxSPloqveA9RuAaRjGHiICH s1nwMHhSVUBq0c+45e6aA0s7ztXUKiksUaVWtLAjwvXbi9GnVXnpTwPzNcDJ51kd01q9 fs5swbeawoStMgcL7YN4MCuTg7uUprBjsQKLERyu/ESH03gFJJWz5Nrc+zwVkdluZOMg dfVJxCoOECYNcWtYXVC9J1adM4UtRCSbWDkeIK/F9t0cdeALzgYMbzCb89gr7uv5iAny UiQQ== 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=R1ZcHKxjvTnD8f3+qXHmLK/liysdFzY/2mwIKJWbEjE=; b=LiPSQ+Ct+kTNm+bUsZTQ6rDjDDq0gvgMLKjPv2B75w9E28WRJuIfiqXJ3iXyq0OHJo scOI3k1PIcIj7EKSiveobLiUKJI/RqJ36rglDz5ESE7463jbe+RU6aVxiTu7O0YNOpOF XmuJUsfg8qTlvTNOqY8sze2Yyu0gEl1svKJW430mVYJB3F+8/KHmlYiyBayKa6VJCMw9 wS1jHIpAEGwG47Qt6uc5rzoXY3go83siVaagnqrUPsLqfi2ZW7LCtt3YmHdSmzbJqTqz hdZq3Cq81n4s5m3rrShwM0ny2RVaoks5kpLbLSGByar5jRqXRtoZeHM2XafXFE0Svsed 7pzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=snB1J2mQ; 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 i15sor3532321lfi.47.2019.12.06.09.08.36 for (Google Transport Security); Fri, 06 Dec 2019 09:08:36 -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=snB1J2mQ; 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=R1ZcHKxjvTnD8f3+qXHmLK/liysdFzY/2mwIKJWbEjE=; b=snB1J2mQrwDed9vQ6dC7Zl+t4YtzNd5l9Upj8oNjM6oJzNZYShdR5A2u7Uf4d8piVe ICKb0Yw5W99EiVzQ6JxolBAAv1ZPe7hCDC7pQYW4KjGuEfSlL8bp7pUsC37B00rIlTfz HRvvLDnAw8oqf37WZX0j+ulFexLFRnbWCXupnlPlKm5JFbhu/ugKngduVGfCDHwE0VtF rY5GuY8KP8kVhaq0TTGMlQUkWNle6c8OVZmEwIODywqHXAiXl8CU11Xc+iyaKTj5WFwI gm+o+p2oZTRWv9o3FLXyXYWx1ArZhK65Z7JSAE0khVc89dbxrgxf/0mTmz9Zwnm4Mf1D YYDQ== 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=R1ZcHKxjvTnD8f3+qXHmLK/liysdFzY/2mwIKJWbEjE=; b=Kr1rMshsZLR5dzHrxG0gGUO+ROx77EyGVOald3aVwa+suG+Quhq7/VddAW/pisVbnH gzH51QyfkFJdt33uLFAIea3y0vqg5fptLNaWLQaYYRJhA+fvxX2P/Vl0GLy9p9P8SKi6 nJ4u0VkwaBAlaus9knPMeVduhQAqSBcnVwgXwYr5iOa5Wql/OFCEO6vTZ4vV2B9hRA2I w4JfA3ZUELHxF5WtZOcPSF2qWD1COglEh50bj49UvoAZ6b5J6/6sa3KYL1DRUbH/2BT3 wPAMNBWpM5bVrLpO3/AiLHiujWCJo/rOiHP545NDLsd23F2Sl5XElRRPMJIbklJ9Y/dm u7/w== X-Gm-Message-State: APjAAAXtGP6SKnh1juSGu/CXJta2fzGXMZN/c0+DJ0PoYRakMbKfCSPL uQro8xp3QNJADOjW0BK2NDkD9i1m X-Google-Smtp-Source: APXvYqz68RutBNs8ELGrRiZRQRVsDFRU3p8tRW4dh1jrbOiSBjEa5lEhO3eZJ3iaO+K/4017KdQj6g== X-Received: by 2002:ac2:4c31:: with SMTP id u17mr8586630lfq.57.1575652116371; Fri, 06 Dec 2019 09:08:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 09:08:35 -0800 (PST) From: Ulf Hansson To: linux-gpio@vger.kernel.org, Linus Walleij Cc: linux-mmc@vger.kernel.org, Ulf Hansson , Ludovic Desroches Subject: [PATCH 7/9] mmc: atmel-mci: Convert to pinctrl_select_default_state() Date: Fri, 6 Dec 2019 18:08:19 +0100 Message-Id: <20191206170821.29711-8-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: Ludovic Desroches Signed-off-by: Ulf Hansson --- drivers/mmc/host/atmel-mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 6f065bb5c55a..aeaaa5314924 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -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); }