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: 5475251 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3374D9F1D4 for ; Thu, 11 Dec 2014 10:19:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5313420160 for ; Thu, 11 Dec 2014 10:19:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68B1920173 for ; Thu, 11 Dec 2014 10:19:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754302AbaLKKTU (ORCPT ); Thu, 11 Dec 2014 05:19:20 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:50667 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750701AbaLKKTT (ORCPT ); Thu, 11 Dec 2014 05:19:19 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so14022856wid.15 for ; Thu, 11 Dec 2014 02:19:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aDpLhWuCYRSDPIJqIhgeVYufJRprpCIYNs7ZeyiSKeE=; b=AbwMC6ROkhmBNYBEVj5bz6TyT/h+GLQ8BqMOmY/EmxTq8R1Le1aqGzQp+YwwDXBxlu IVwTSE3FB7caTy/FUlWBSREwGICe9ocIAAj4iPJgAz+yKEtWXh7Mu1MtN58qu6c5NwD4 7Syij2bTFef8f1AEqSMwlwK7mh0NIMyj3hSvcaj2tWtYjzmRvI129OZ8PRy1gggHq/t8 M4LCOResrxlziCDfNe7+wBNOU2LvIvwyHd523wBS0SgMhXsENAUObjsqIGk9y+clYara +CK3ce6gIvM0BcJjWM9fYKxsIczoym3yOwb38l9HpygvvABS9cPFj42tWBMVG2zoz/Kd GqqA== X-Gm-Message-State: ALoCoQkKGUu+I4wiBJB+UPWUbp87cKySfrzSn2YDbmJoFaltt9wZSLYMGjmdlyKFZ0S2kZLBfcz8 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: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 = {