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: 3074211 Return-Path: X-Original-To: patchwork-linux-pm@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 95979BF924 for ; Mon, 21 Oct 2013 01:53:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C49C020364 for ; Mon, 21 Oct 2013 01:53:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9388E20431 for ; Mon, 21 Oct 2013 01:53:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148Ab3JUBxl (ORCPT ); Sun, 20 Oct 2013 21:53:41 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:55625 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101Ab3JUBxk (ORCPT ); Sun, 20 Oct 2013 21:53:40 -0400 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>; 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 Cc: 'Kukjin Kim' , 'Daniel Lezcano' , 'Tomasz Figa' , 'Amit Daniel Kachhap' , 'Bartlomiej Zolnierkiewicz' , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 'Jingoo Han' 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 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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+XOki5sECUxJfW nWBjWARUJdbsWQO2mBeoet2ZX2wQtqDEj8n3WEBsZgE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3FVg8UhRgEORiUe3gCXlCAh1sSy4srcQ4wSHMxK 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;