From patchwork Tue Apr 30 06:16:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16516 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f199.google.com (mail-ye0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 07F2723903 for ; Tue, 30 Apr 2013 06:29:24 +0000 (UTC) Received: by mail-ye0-f199.google.com with SMTP id l3sf261281yen.2 for ; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=4acNUz2AWZo9b4bF5G8Hm2C/kYzEL4Lyi2Ts2WznowA=; b=k3GWPbCBQXajJM3rm09zK0yXGIo4Jq0XHjz+8KS2f1ShILZk3F6r/m6UKXAoGNmKYD nSAYeKvOICkeLJo6GXCu1XKma7vvZ3gz2GSRRUye+AJgpcStSnilLAF2nAI0Ce4ckFpX XssOC2Bv4ULs7qI5ihWQQb3tnVFSphGqCL2pZ/UKeJc1o5QLgsUqG0O89F1AISXZOUrf uamUZh51XT9+ZHqnSVSNaM1PDy6IVOAK5KaLdtIcVRS52mz2nwuVxcD5en5h6Srp7H/m 3tSv17K3nnvjUoKbk/fFHYe4uUoteQ9Fj0J/XjMFpyXBL65TmLj/onpkooR72kimwI0H WhyQ== X-Received: by 10.236.160.1 with SMTP id t1mr18392359yhk.54.1367303361730; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.202 with SMTP id x10ls110210qeu.56.gmail; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) X-Received: by 10.58.29.101 with SMTP id j5mr4993779veh.26.1367303361554; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [2607:f8b0:400c:c01::234]) by mx.google.com with ESMTPS id gs2si915883vdc.50.2013.04.29.23.29.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:21 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::234; Received: by mail-ve0-f180.google.com with SMTP id pb11so117584veb.11 for ; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr29208288vdu.8.1367303361232; Mon, 29 Apr 2013 23:29:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp90200veb; Mon, 29 Apr 2013 23:29:20 -0700 (PDT) X-Received: by 10.66.161.69 with SMTP id xq5mr63903866pab.136.1367303360428; Mon, 29 Apr 2013 23:29:20 -0700 (PDT) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx.google.com with ESMTPS id h1si19772361pad.201.2013.04.29.23.29.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.49; Received: by mail-pa0-f49.google.com with SMTP id hk2so172715pac.22 for ; Mon, 29 Apr 2013 23:29:20 -0700 (PDT) X-Received: by 10.68.50.193 with SMTP id e1mr76181530pbo.184.1367303359978; Mon, 29 Apr 2013 23:29:19 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id lq5sm1934904pab.19.2013.04.29.23.29.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:19 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 4/4] [media] s3c-camif: Use dev_info instead of printk Date: Tue, 30 Apr 2013 11:46:21 +0530 Message-Id: <1367302581-15478-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367302581-15478-1-git-send-email-sachin.kamat@linaro.org> References: <1367302581-15478-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQm3Rqj0V5fFSucZNBcCBXow5PM0uIOteAERsM5XkAwciuXTpWL0M17/VIElT7UmIZquUZJN X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , dev_info is preferred to printk. Silences the related checkpatch warning. WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Sachin Kamat --- drivers/media/platform/s3c-camif/camif-regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s3c-camif/camif-regs.c b/drivers/media/platform/s3c-camif/camif-regs.c index 7b22d6c..a9e3b16 100644 --- a/drivers/media/platform/s3c-camif/camif-regs.c +++ b/drivers/media/platform/s3c-camif/camif-regs.c @@ -601,6 +601,6 @@ void camif_hw_dump_regs(struct camif_dev *camif, const char *label) pr_info("--- %s ---\n", label); for (i = 0; i < ARRAY_SIZE(registers); i++) { u32 cfg = readl(camif->io_base + registers[i].offset); - printk(KERN_INFO "%s:\t0x%08x\n", registers[i].name, cfg); + dev_info(camif->dev, "%s:\t0x%08x\n", registers[i].name, cfg); } }