Message ID | 001f01ce0b47$bbac2e10$33048a30$%han@samsung.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <rtc-linux+bncBDTJ5LFEQQCBBBNS66EAKGQEYRELA3Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-f61.google.com (mail-oa0-f61.google.com [209.85.219.61]) (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 D4B4D2C007A for <incoming@patchwork.ozlabs.org>; Fri, 15 Feb 2013 17:43:20 +1100 (EST) Received: by mail-oa0-f61.google.com with SMTP id k14sf1055572oag.6 for <incoming@patchwork.ozlabs.org>; Thu, 14 Feb 2013 22:43:17 -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=dueW8MSjHX/eE7GSnjt8PbSw6i0adVP1p0638BCofvc=; b=k38BzMNEw4kaqjbW+LvDPKebOayio0mPECo63ha5J5+hvhpsnHkNTwNOSw59rdM3Xo g5t+xS2etCMxf/VzF937t8vr0neV9n+8nWH82RUphR4sW3huTmejfAJ3DAppV3H6tEba oKxnnFNeJNxp/Kvu7CDVxFveS/wIaob2RO11JuOgtRfEcYpWimIdo1wMOggrZqDOuj2B uC9leq365WHdFYO12KbG1w5tJ+o34yxPcDYCOzJmD3Y0NnD9UPiebhNBAH/GpsswTnzE uB/Fsk4TX7YJFVRtWBE66wDGksQeqa9tFsRDiAo/yD6s6ISAx6nlmp9FoIWAXGVo6EBo hQEw== X-Received: by 10.50.46.167 with SMTP id w7mr82899igm.9.1360910597829; Thu, 14 Feb 2013 22:43:17 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.12.233 with SMTP id b9ls309449igc.4.gmail; Thu, 14 Feb 2013 22:43:17 -0800 (PST) X-Received: by 10.66.72.199 with SMTP id f7mr994597pav.12.1360910597304; Thu, 14 Feb 2013 22:43:17 -0800 (PST) X-Received: by 10.66.72.199 with SMTP id f7mr994595pav.12.1360910597290; Thu, 14 Feb 2013 22:43:17 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by gmr-mx.google.com with ESMTP id d9si79227paw.0.2013.02.14.22.43.16; Thu, 14 Feb 2013 22:43:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MI900N0U1BH4DJ0@mailout4.samsung.com> for rtc-linux@googlegroups.com; Fri, 15 Feb 2013 15:43:16 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 39.F1.03448.409DD115; Fri, 15 Feb 2013 15:43:16 +0900 (KST) X-AuditID: cbfee68f-b7f656d000000d78-7a-511dd9041b1c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6F.83.03918.309DD115; Fri, 15 Feb 2013 15:43:16 +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 <0MI90060O1C3OT10@mmp2.samsung.com> for rtc-linux@googlegroups.com; Fri, 15 Feb 2013 15:43:15 +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: <001e01ce0b47$8edd1480$ac973d80$%han@samsung.com> In-reply-to: <001e01ce0b47$8edd1480$ac973d80$%han@samsung.com> Subject: [rtc-linux] [PATCH V2 02/11] rtc: max77686: use dev_info() instead of printk() Date: Fri, 15 Feb 2013 15:43:15 +0900 Message-id: <001f01ce0b47$bbac2e10$33048a30$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4LR47AXgjtu6e1Qmq7gnKtv11nagAABfVQ X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsVy+t8zY12Wm7KBBvvb2C32d3YwOjB67Jl4 ki2AMYrLJiU1J7MstUjfLoEr49LPucwFPZwVD5e2MDYwHmPvYuTkkBAwkfh0agkjhC0mceHe erYuRi4OIYFljBInW44xdTFygBU9O1ADEZ/OKHH4/weooplMEuvfHGcB6WYTUJP48uUwO0iD iIC+RFuLBkgNs0Avo8SZ3t1gcSEBW4mpt51BTE4BO4n3001BOoUFvCUuH3/LBGKzCKhKbLh+ ixXE5gWq/nT1GyOELSjxY/I9sE3MAloSm7c1sULY8hKb17xlhjhTXeLRX12QsIiAkcT9T0eg ykUk9r14xwhyjYTAInaJnz8PMULsEpD4NvkQC0SvrMSmA8yQYJCUOLjiBssERolZSDbPQrJ5 FpLNs5CsWMDIsopRNLUguaA4Kb3IWK84Mbe4NC9dLzk/dxMjJK76dzDePWB9iDEZaP1EZinR 5HxgXOaVxBsaG5uYmZiamFuampuSJqwkzit/SSZQSCA9sSQ1OzW1ILUovqg0J7X4ECMTB6dU A2PQZSXlky7JGTF/ZblkpGLZzrpWHPzde0np4Iw1U/ZY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000@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.34 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-max77686.c b/drivers/rtc/rtc-max77686.c index 2da0855..abe27c0 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c @@ -507,7 +507,7 @@ static int max77686_rtc_probe(struct platform_device *pdev) struct max77686_rtc_info *info; int ret, virq; - printk(KERN_INFO "%s\n", __func__); + dev_info(&pdev->dev, "%s\n", __func__); info = kzalloc(sizeof(struct max77686_rtc_info), GFP_KERNEL); if (!info) @@ -546,7 +546,7 @@ static int max77686_rtc_probe(struct platform_device *pdev) &max77686_rtc_ops, THIS_MODULE); if (IS_ERR(info->rtc_dev)) { - printk(KERN_INFO "%s: fail\n", __func__); + dev_info(&pdev->dev, "%s: fail\n", __func__); ret = PTR_ERR(info->rtc_dev); dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret);
Fixed the checkpatch warning as below: WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- No changes since v1: drivers/rtc/rtc-max77686.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)