mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Güngör Erseymen" <gelurine@gmail.com>
To: gregkh@linuxfoundation.org
Cc: abbotti@mev.co.uk, fmhess@users.sourceforge.net,
	hsweeten@visionengravers.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	"Güngör Erseymen" <gelurine@gmail.com>
Subject: [PATCH] Staging: comedi: ssv_snp: fix checkpatch.pl warnings
Date: Thu,  9 Aug 2012 18:20:14 +0300	[thread overview]
Message-ID: <1344525614-13910-1-git-send-email-gelurine@gmail.com> (raw)

Fix two checkpatch.pl warnings about printk issues by using
pr_info(...) instead of printk(KERN_INFO, ...).

Signed-off-by: Güngör Erseymen <gelurine@gmail.com>
---
 drivers/staging/comedi/drivers/ssv_dnp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ssv_dnp.c b/drivers/staging/comedi/drivers/ssv_dnp.c
index 84b9f2a..4cd0f1b 100644
--- a/drivers/staging/comedi/drivers/ssv_dnp.c
+++ b/drivers/staging/comedi/drivers/ssv_dnp.c
@@ -177,7 +177,7 @@ static int dnp_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 	struct comedi_subdevice *s;
 	int ret;
 
-	printk(KERN_INFO "comedi%d: dnp: ", dev->minor);
+	pr_info("comedi%d: dnp: ", dev->minor);
 
 	dev->board_name = board->name;
 
@@ -195,7 +195,7 @@ static int dnp_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 	s->insn_bits = dnp_dio_insn_bits;
 	s->insn_config = dnp_dio_insn_config;
 
-	printk("attached\n");
+	pr_info("attached\n");
 
 	/* We use the I/O ports 0x22,0x23 and 0xa3-0xa9, which are always
 	 * allocated for the primary 8259, so we don't need to allocate them
-- 
1.7.11.4


             reply	other threads:[~2012-08-09 15:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 15:20 Güngör Erseymen [this message]
2012-08-09 16:27 ` H Hartley Sweeten
2012-08-10 12:08   ` Güngör Erseymen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344525614-13910-1-git-send-email-gelurine@gmail.com \
    --to=gelurine@gmail.com \
    --cc=abbotti@mev.co.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=fmhess@users.sourceforge.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®