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: 5475261 Return-Path: X-Original-To: patchwork-linux-mmc@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 B1D6C9F1D4 for ; Thu, 11 Dec 2014 10:19:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E666920160 for ; Thu, 11 Dec 2014 10:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53BD120172 for ; Thu, 11 Dec 2014 10:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750701AbaLKKTU (ORCPT ); Thu, 11 Dec 2014 05:19:20 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:38700 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbaLKKTT (ORCPT ); Thu, 11 Dec 2014 05:19:19 -0500 Received: by mail-wg0-f49.google.com with SMTP id n12so5973149wgh.36 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=AuSTXuGGKEI0BZ/Te6e/FxYiepk5iAhytL1rigTIW4BApN3mCs51MB6JQcf45BCqxi hX5m86Y/WW64zsNYEVQtt1EoZO/QP7VIHh9jJ1Gd9gDhoxFaisxxmTaACsHWe8ilcHuF ngKoriTbhOj2PFXrHwS1vzIi0su+d/qDU0hjLgq0EbwPn2WHluiMN8g/tZY7GSFhRSLS UNrx2Ucfbk9Ul8L/Anqv3HaStyRTdqgvr7FLBL+uX++UtEPxHo8UkUJ8pepYCOtVFLX8 GTwdesu969v+B+2VVZYnANHRKvsQkf814xgcnnB+qzWmoiZtO3Og9uJ/uT4PuMgD7koz L0Ow== X-Gm-Message-State: ALoCoQlS/p1nhNqm0K3GeJ3R2WVeOdFE7vwwCW5JR6GsgJU0o+HzYcflvrJyYU2+AZnvRJZYSc/9 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-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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=ham 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 = {