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: 5475281 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 1A6399F1D4 for ; Thu, 11 Dec 2014 10:20:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5269020173 for ; Thu, 11 Dec 2014 10:20:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84B1020160 for ; Thu, 11 Dec 2014 10:20:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751853AbaLKKUl (ORCPT ); Thu, 11 Dec 2014 05:20:41 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:49358 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750741AbaLKKUk (ORCPT ); Thu, 11 Dec 2014 05:20:40 -0500 Received: by mail-wi0-f173.google.com with SMTP id r20so14040852wiv.6 for ; Thu, 11 Dec 2014 02:20:39 -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; bh=Mx/RnTx3VWJ+ZlizPQ8tTYHzpRr3cY/HICtFftDgevo=; b=C6VMgd9tEs0T0DhRwklfbx14Hc3QiiouwErEY8MG7cE5+PdbjRIXg56Kgx7S3jZrz7 Ug3HBGiL8xwOCL2zH3ycTweucA38FDHaFmGj+RLLzoKSu68ugH8V1VMP3xNAUExDRcNY rqg8nfzjjIxmLxle+T/ybriQfS911Lan59KjTOLpsGKz36w4dizWHq93GjVKF2a04BNg yxgH6ocLwXGigwxnlECG2pDrYW2t1K7CEomvaE08IRl/hg8SvOCUFOAmWyizJwBuysQ2 x3MRZto8BzEBqO4JimOWqjMvoOSO5fDdJsuFplRO+sDk0gNxTomMICbgiuEztprEoxd7 3nyQ== X-Gm-Message-State: ALoCoQlQzi5tUDAbMvnNY59H2Q8IbgBrmjwyu7iwI01V4L8etaqsx8WjUjoeQEulwRpXJX4wj3Xr 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 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 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.