From patchwork Thu Dec 11 10:18:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 42107 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3427B26666 for ; Thu, 11 Dec 2014 10:19:21 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf3477520eek.7 for ; Thu, 11 Dec 2014 02:19:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=aDpLhWuCYRSDPIJqIhgeVYufJRprpCIYNs7ZeyiSKeE=; b=kGnwwcgRdlEO+VLczC9+Uu0MUQ78APpN9ikwZlI3XnmR9Y5J7N4WkZl2OWyJ9qBCIv xLI/7/QmLqLr9GkEKLbSbalKffboIO+0KLWE91G+fjIm1N/oLySCpoz9g5yu6TFQVrre n0rwvBsBg0fn81f9isFVY8Kg+J0UhncX32EewwEK9+Rc+np5HqcY7v95aZUwgkv5+Q8m UR1ivjn/wVrQvpMsHNhu3YjgXYXTBHlE2RUHq4Y9cRlxKf859sNkfKe0c2qpBkvJvwkl H8GwYjUTmpMGr1vh4wUUi5k93E3MMoceB6UvgE4moJnBXx0IISyeymxxk61TBJ0bhZb2 uLew== X-Gm-Message-State: ALoCoQkIQg3+Yj/K3ep00vtbxdKsmqzYVsYUX9tuFsJVHDWpmzzW5SOQ4uloAhAihFFxjtsbHNFw X-Received: by 10.112.188.199 with SMTP id gc7mr1532106lbc.6.1418293160329; Thu, 11 Dec 2014 02:19:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.11.6 with SMTP id ee6ls293216lad.7.gmail; Thu, 11 Dec 2014 02:19:20 -0800 (PST) X-Received: by 10.112.41.168 with SMTP id g8mr8800102lbl.59.1418293160046; Thu, 11 Dec 2014 02:19:20 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id v2si801321lbb.56.2014.12.11.02.19.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ms9so3973573lab.10 for ; Thu, 11 Dec 2014 02:19:19 -0800 (PST) X-Received: by 10.112.138.137 with SMTP id qq9mr8921660lbb.80.1418293159901; Thu, 11 Dec 2014 02:19:19 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp474031lbb; Thu, 11 Dec 2014 02:19:19 -0800 (PST) X-Received: by 10.194.90.10 with SMTP id bs10mr15386430wjb.43.1418293158470; Thu, 11 Dec 2014 02:19:18 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com. [209.85.212.181]) by mx.google.com with ESMTPS id d2si2035086wix.0.2014.12.11.02.19.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:19:18 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.212.181 as permitted sender) client-ip=209.85.212.181; Received: by mail-wi0-f181.google.com with SMTP id r20so8081789wiv.8 for ; Thu, 11 Dec 2014 02:19:18 -0800 (PST) X-Received: by 10.180.13.7 with SMTP id d7mr21694229wic.57.1418293158034; Thu, 11 Dec 2014 02:19:18 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id a14sm2324538wib.22.2014.12.11.02.19.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Dec 2014 02:19:16 -0800 (PST) From: Ulf Hansson To: Ulf Hansson , Chris Ball , "Rafael J. Wysocki" , Len Brown , Pavel Machek Cc: linux-mmc@vger.kernel.org, linux-pm@vger.kernel.org, Ludovic Desroches Subject: [PATCH 1/2] mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro Date: Thu, 11 Dec 2014 11:18:56 +0100 Message-Id: <1418293136-28356-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Ludovic Desroches The currently used SET_PM_RUNTIME_PM_OPS() macro is defined to the SET_RUNTIME_PM_OPS() macro. Convert to the later, since that's the proper one to use. Signed-off-by: Ludovic Desroches Signed-off-by: Ulf Hansson --- drivers/mmc/host/atmel-mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 62aba9a..03d7c75 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -2561,7 +2561,7 @@ static int atmci_runtime_resume(struct device *dev) static const struct dev_pm_ops atmci_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) - SET_PM_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) + SET_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) }; static struct platform_driver atmci_driver = {