From patchwork Thu Dec 11 10:20:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 42108 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F159526666 for ; Thu, 11 Dec 2014 10:20:41 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id ex7sf3494953wid.3 for ; Thu, 11 Dec 2014 02:20:41 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Mx/RnTx3VWJ+ZlizPQ8tTYHzpRr3cY/HICtFftDgevo=; b=mWr7uDZE0qvIz3WK65YgMAHA0P+q9w83mUpWQyOMcoa2OROSDwxAbk5Sswz3Qd0vOf ScP0kEUzCt3E93Wz0QOU/sj9kAqTo97+bOR5bgW5yja2S5gfaUA9msFEH5qg7vTGF5CI qpXJTIBqsNjBcAUjCE4W74hLrzjuzzCoN3MZbXVmD1jHz2ABPxckPH2yURrKiafgend6 zn/syc0c6wxXepwN5c9yPQe/oFJf+3sT6A+8QwB3MLq6hWyxswXPnTeolylh/9xwYHOV lUVdBuwwcynHSlq9H2NBzLlaXQI3JaKeLlrKRk1H1uc/QFWrMroa6PDosX4v1dXsV8gf 9A0g== X-Gm-Message-State: ALoCoQkPmRgUQvqrexWiBkHkOVBtSDM2YdkpdysBStWGVUfq/YZxUxR3GbEHKFzbzDBxtPbdCBRh X-Received: by 10.152.7.99 with SMTP id i3mr7924laa.9.1418293240981; Thu, 11 Dec 2014 02:20:40 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.232 with SMTP id m8ls264393laa.45.gmail; Thu, 11 Dec 2014 02:20:40 -0800 (PST) X-Received: by 10.152.25.129 with SMTP id c1mr9098834lag.9.1418293240612; Thu, 11 Dec 2014 02:20:40 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id uk4si793683lbb.68.2014.12.11.02.20.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:20:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gq15so4031809lab.18 for ; Thu, 11 Dec 2014 02:20:40 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr8879315lbo.32.1418293240534; Thu, 11 Dec 2014 02:20:40 -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 ru5csp474348lbb; Thu, 11 Dec 2014 02:20:40 -0800 (PST) X-Received: by 10.180.74.236 with SMTP id x12mr14703928wiv.40.1418293239857; Thu, 11 Dec 2014 02:20:39 -0800 (PST) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com. [74.125.82.41]) by mx.google.com with ESMTPS id jt3si2292318wid.19.2014.12.11.02.20.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:20:39 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 74.125.82.41 as permitted sender) client-ip=74.125.82.41; Received: by mail-wg0-f41.google.com with SMTP id y19so5966407wgg.28 for ; Thu, 11 Dec 2014 02:20:39 -0800 (PST) X-Received: by 10.180.92.169 with SMTP id cn9mr21448650wib.26.1418293239586; Thu, 11 Dec 2014 02:20:39 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id a14sm2328637wib.22.2014.12.11.02.20.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Dec 2014 02:20:38 -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 2/2] PM: Remove the SET_PM_RUNTIME_PM_OPS() macro Date: Thu, 11 Dec 2014 11:20:36 +0100 Message-Id: <1418293236-28411-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 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.45 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: , There're now no users left of the SET_PM_RUNTIME_PM_OPS() macro, since all have converted to use the SET_RUNTIME_PM_OPS() macro instead, so let's remove it. Signed-off-by: Ulf Hansson --- I suggest we takes this through my mmc tree, thus I request an ack from Rafael. Also, I intend to send this as a fix for 3.19 rc1, together with the mmc parts in Patch 1/2. --- include/linux/pm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 66a656e..8b59763 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -351,8 +351,6 @@ struct dev_pm_ops { #define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) #endif -#define SET_PM_RUNTIME_PM_OPS SET_RUNTIME_PM_OPS - /* * Use this if you want to use the same suspend and resume callbacks for suspend * to RAM and hibernation.