From patchwork Mon Oct 21 01:53:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3074221 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 B5A7ABF924 for ; Mon, 21 Oct 2013 01:54:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0258E20430 for ; Mon, 21 Oct 2013 01:54:12 +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 08B9920364 for ; Mon, 21 Oct 2013 01:54:11 +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 1VY4h5-0006oJ-DK; Mon, 21 Oct 2013 01:54:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VY4h2-0008D0-Sr; Mon, 21 Oct 2013 01:54:04 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VY4gz-0008Cc-E5 for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2013 01:54:02 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUZ00I5IX7R2Q70@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2013 10:53:04 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id A0.82.08406.FF884625; Mon, 21 Oct 2013 10:53:03 +0900 (KST) X-AuditID: cbfee68e-b7f416d0000020d6-26-526488ff3af1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3B.44.08134.FF884625; Mon, 21 Oct 2013 10:53:03 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MUZ00LHVX8FH000@mmp2.samsung.com>; Mon, 21 Oct 2013 10:53:03 +0900 (KST) From: Jingoo Han To: "'Rafael J. Wysocki'" , linux-pm@vger.kernel.org References: <003601cece00$2affeba0$80ffc2e0$%han@samsung.com> In-reply-to: <003601cece00$2affeba0$80ffc2e0$%han@samsung.com> Subject: [PATCH 2/2] ARM: EXYNOS: Remove incorrect __init annotation from cpuidle driver Date: Mon, 21 Oct 2013 10:53:03 +0900 Message-id: <003701cece00$479e6d90$d6db48b0$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7OACrLPK7Vosr9TAO9hX3+rOBtOwAAAhqA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsVy+t8zA93/HSlBBvOeW1k0XA2x2DhjPavF vM+yFpcXXmK16F1wlc1i0+NrrBafe48wWsw4v4/Jon9hL5PF+hmvWRy4PO5c28PmsXlJvUff llWMHo8WtzB6fN4kF8AaxWWTkpqTWZZapG+XwJVx7epFloIe9op9/R9YGxj/snYxcnJICJhI zJq2kw3CFpO4cG89kM3FISSwjFFi0ZddzDBF/bMmMUEkpjNKPPoyiwXC+cUosWR1HxNIFZuA msSXL4fZQWwRAUeJgzfawDqYBe4wSVxqu8TYxcgB1GErcedPIIjJKWAnMX+XOki5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s1C0rKAkWUVo2hqQXJB cVJ6rpFecWJucWleul5yfu4mRnDKeCa9g3FVg8UhRgEORiUe3gCXlCAh1sSy4srcQ4wSHMxK IrypHkAh3pTEyqrUovz4otKc1OJDjMlAj05klhJNzgems7ySeENjEzMjSyMzCyMTc3PShJXE eQ+2WgcKCaQnlqRmp6YWpBbBbGHi4JRqYEzcGZzBteBotdGhxoWXZSPtf1mucO8+d9P++eev jxP85iU+ubP+6Zs99yc+zvj8YO6PhZtf/+xJ/Cq/4cgGaefVkzk7Auo8H3Ex3TuQmL3NWFpr +XHN5bPSSizO7jGe7+ajYGjWzmyYfMmKhc97waeb7xPdJEV75Isyo961clwVPbNuWtoX1XNK LMUZiYZazEXFiQDa40YpXQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131020_215401_755317_D572DBD7 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.3 (-------) Cc: 'Jingoo Han' , linux-samsung-soc@vger.kernel.org, 'Bartlomiej Zolnierkiewicz' , 'Tomasz Figa' , 'Daniel Lezcano' , 'Amit Daniel Kachhap' , 'Kukjin Kim' , linux-arm-kernel@lists.infradead.org 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: , 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus, __init annotation should be removed from probe(). Also, this patch fixes section mismatch warning. Signed-off-by: Jingoo Han --- - Based against pm-cpuidle branch - Tested on Exynos5440 arch/arm/mach-exynos/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 6616e0f..ddbfe87 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -193,7 +193,7 @@ static void __init exynos5_core_down_clk(void) __raw_writel(tmp, EXYNOS5_PWR_CTRL2); } -static int __init exynos_cpuidle_probe(struct platform_device *pdev) +static int exynos_cpuidle_probe(struct platform_device *pdev) { int cpu_id, ret; struct cpuidle_device *device;