From patchwork Fri Jul 5 22:44:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 2824421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C653DC0AB2 for ; Fri, 5 Jul 2013 22:45:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB15220164 for ; Fri, 5 Jul 2013 22:45:31 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF23E20160 for ; Fri, 5 Jul 2013 22:45:30 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvEkp-0005Dl-DA; Fri, 05 Jul 2013 22:45:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvEkm-0000VT-PK; Fri, 05 Jul 2013 22:45:24 +0000 Received: from qmta13.emeryville.ca.mail.comcast.net ([2001:558:fe2d:44:76:96:27:243]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UvEkk-0000Ui-UZ for linux-arm-kernel@lists.infradead.org; Fri, 05 Jul 2013 22:45:23 +0000 Received: from omta11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by qmta13.emeryville.ca.mail.comcast.net with comcast id wmay1l0010mlR8UADml2d0; Fri, 05 Jul 2013 22:45:02 +0000 Received: from mail.gonehiking.org ([50.134.149.16]) by omta11.emeryville.ca.mail.comcast.net with comcast id wml01l00g0MU7Qa8Xml1W7; Fri, 05 Jul 2013 22:45:01 +0000 Received: from orthanc.internal (orthanc.internal [192.168.1.24]) by mail.gonehiking.org (Postfix) with ESMTP id D16B980134; Fri, 5 Jul 2013 16:45:13 -0600 (MDT) From: Shuah Khan To: linux@arm.linux.org.uk, gregkh@linuxfoundation.org Subject: [PATCH] arm: Convert sa1111 platform and bus legacy pm_ops to dev_pm_ops Date: Fri, 5 Jul 2013 16:44:57 -0600 Message-Id: <1373064297-13582-1-git-send-email-shuah.kh@samsung.com> X-Mailer: git-send-email 1.7.10.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1373064302; bh=jdP3eef96vkCYdUDUvjNQVhreuBUrGIZj14YbtQKxJ8=; h=Received:Received:Received:From:To:Subject:Date:Message-Id; b=bkgxWHh5G24zRRKliq4Cp5puyLkGiQnFNhmp+L9Ac7OQsGOwmI4gjxSekmsbgxC2I zFRdkzQzk9vLCdcbg2nGEiaTCucF9iPgwpxsw/hbX0hIB9u3wgr8vzXJWZTluIhAqk 9cAYQnR7wVL/wctGm00aJBwOP6KXzNZPKkEgA6hjiO5ZRni3UyRHffSXR99E2hUDFA +sGfc7DTiD3CteCxxBB8xqIg0f9m2v52deBk1/xbx/9AQgMoHwBe3NfF2/CA8FToMe cD3SrX+nVv13oW8z4ATZ2EM3Hc5YaWc383zYWQp0A0cfgJVJ1c1GV9hXj0RB2D95Fw 56ljR2siqKKRw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130705_184523_142227_46BCF815 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Shuah Khan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shuahkhan@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Convert arch/arm/common/sa1111 platform and bus legacy pm_ops to dev_pm_ops. This change also updates the use of COMFIG_PM to CONFIG_PM_SLEEP as this platform and bus code implements PM_SLEEP ops and not the PM_RUNTIME ops. Compile tested. Signed-off-by: Shuah Khan --- arch/arm/common/sa1111.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index 2a64c12..95594f0 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c @@ -1321,7 +1321,7 @@ static int sa1111_bus_resume(struct device *dev) } static SIMPLE_DEV_PM_OPS(sa1111_bus_dev_pm_ops, sa1111_bus_suspend, sa1111_bus_resume); -#endif +#endif static void sa1111_bus_shutdown(struct device *dev) {