Message ID | 00a701ce158f$2e14e130$8a3ea390$%han@samsung.com |
---|---|
State | Rejected |
Headers | show
Return-Path: <rtc-linux+bncBDTJ5LFEQQCBBW5PXSEQKGQE2NJAUZI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qa0-f56.google.com (mail-qa0-f56.google.com [209.85.216.56]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 9BE062C008E for <incoming@patchwork.ozlabs.org>; Thu, 28 Feb 2013 19:39:58 +1100 (EST) Received: by mail-qa0-f56.google.com with SMTP id dx4sf688089qab.11 for <incoming@patchwork.ozlabs.org>; Thu, 28 Feb 2013 00:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:received-spf:x-auditid :from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:x-mailer:thread-index:x-brightmail-tracker :x-brightmail-tracker:dlp-filter:x-mtr:x-cfilter-loop :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-language; bh=Rme1Zo3jaKFNBF+DrbHRFSpqUtWWFgL3Sl0DWMJyqrU=; b=a1/F+imAOlkGtGFQSQFSVqytWC71E2dPMDuGTCNGVVQ5UPJHbBPnakV7JcQhnWqCrr t/0W8kiK6Q6f5j6hscv5qcWDtC7PHVNjoYEp9cqiALjXwCydH0ltj0H4lZn39hYgBgQ1 uur6/x/4h9K+Owd3lEGP0BkMkDE6xRsCod34lV/GHhfxa53mFo4zo/oFW8ukVwEG+9Er pF0ZZYZQ54lS2SmAJ1wFSnssB+LmdsWQC86VsxU4q+UqQSI4Ebxya/rn1D2biFYNliRI Sz8jNC1851pujamcqNgLIogM/z3499QoLhXaRYOzTN4oNEt1HxhsGBnXJAyCVsJPLh0c ECuA== X-Received: by 10.50.187.133 with SMTP id fs5mr942497igc.12.1362040795598; Thu, 28 Feb 2013 00:39:55 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.85.130 with SMTP id h2ls866304igz.13.gmail; Thu, 28 Feb 2013 00:39:55 -0800 (PST) X-Received: by 10.68.203.201 with SMTP id ks9mr1223634pbc.7.1362040795271; Thu, 28 Feb 2013 00:39:55 -0800 (PST) X-Received: by 10.68.203.201 with SMTP id ks9mr1223633pbc.7.1362040795262; Thu, 28 Feb 2013 00:39:55 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by gmr-mx.google.com with ESMTP id tj3si1698192pbc.0.2013.02.28.00.39.54; Thu, 28 Feb 2013 00:39:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MIX00I979DQ5FA0@mailout1.samsung.com> for rtc-linux@googlegroups.com; Thu, 28 Feb 2013 17:39:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 9B.DC.23273.AD71F215; Thu, 28 Feb 2013 17:39:54 +0900 (KST) X-AuditID: cbfee691-b7faa6d000005ae9-c3-512f17da0296 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id C0.F4.03880.9D71F215; Thu, 28 Feb 2013 17:39:54 +0900 (KST) Received: from DOJG1HAN02 ([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 <0MIX00IVX9EHEH20@mmp2.samsung.com>; Thu, 28 Feb 2013 17:39:53 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Andrew Morton' <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, 'Alessandro Zummo' <a.zummo@towertech.it>, rtc-linux@googlegroups.com, 'Jingoo Han' <jg1.han@samsung.com> References: <00a501ce158e$ef171610$cd454230$%han@samsung.com> In-reply-to: <00a501ce158e$ef171610$cd454230$%han@samsung.com> Subject: [rtc-linux] [PATCH 03/19] rtc: rtc-ds1302: remove erroneous __init annotation Date: Thu, 28 Feb 2013 17:39:53 +0900 Message-id: <00a701ce158f$2e14e130$8a3ea390$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4Vju7DHmrOxtsNRmyyH1DU6RVYuAAACfRg X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zQ91b4vqBBlc3c1ssuXiV3WLO+jVs FpcXXmK1uLxrDpvF/s4ORgdWjz0TT7J5nJjxm8Wjb8sqRo/p834yeXzeJBfAGsVlk5Kak1mW WqRvl8CV8en8P9aCx2wVs99cZGtgvMnaxcjBISFgItF31aaLkRPIFJO4cG89G4gtJLCMUeLp 1kqIuInEtffPmboYuYDi0xkl9n/7ywLh/GKUePD8CytIFZuAmsSXL4fZQYaKCOhLtLVogNQw C/QySpzp3c0OMdVW4lhbGwuIzSlgJ/H76VGwXmEBL4kpf3eC1bAIqErs3t3CDGLzAtUv/r2Q DcIWlPgx+R5YL7OAlsT6nceZIGx5ic1r3jJDPKMu8eivLkhYRMBI4twJiLXMAiIS+168YwS5 R0LgEbvEvY+NbBC7BCS+TT7EAtErK7HpADPEw5ISB1fcYJnAKDELyeZZSDbPQrJ5FpIVCxhZ VjGKphYkFxQnpReZ6hUn5haX5qXrJefnbmKExOnEHYz3D1gfYkwGWj+RWUo0OR8Y53kl8YbG xiZmJqYm5pam5qakCSuJ88pfk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X/TsthvCYaLrL7tNCh5vfnuhf2ndDo1LBfaPpVJ3Jj+7NLWxn+3 egts3nbGejgk3Xdk7kordT+fkdUQZJczm/2kDfe9A5OVWIozEg21mIuKEwFwud2JSAMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Original-Sender: jg1.han@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=jg1.han@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-type: text/plain; charset=ISO-8859-1 Content-language: ko |
diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index fdbcdb2..fad99ba 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c @@ -205,7 +205,7 @@ static struct rtc_class_ops ds1302_rtc_ops = { .ioctl = ds1302_rtc_ioctl, }; -static int __init ds1302_rtc_probe(struct platform_device *pdev) +static int ds1302_rtc_probe(struct platform_device *pdev) { struct rtc_device *rtc;
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/rtc/rtc-ds1302.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)