From 894ab190b9cfae1e040fd3d333528206eb0ea861 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 8 Apr 2013 14:29:21 -0700 Subject: [PATCH] staging: comedi: acl7225b: remove board attach kernel noise The printk's during the board attach are just added noise. Remove them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/acl7225b.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/comedi/drivers/acl7225b.c b/drivers/staging/comedi/drivers/acl7225b.c index eb8e906..284232f 100644 --- a/drivers/staging/comedi/drivers/acl7225b.c +++ b/drivers/staging/comedi/drivers/acl7225b.c @@ -74,13 +74,8 @@ static int acl7225b_attach(struct comedi_device *dev, iobase = it->options[0]; iorange = board->io_range; - printk(KERN_INFO "comedi%d: acl7225b: board=%s 0x%04x\n", dev->minor, - board->name, iobase); - if (!request_region(iobase, iorange, "acl7225b")) { - printk(KERN_ERR "comedi%d: request_region failed - I/O port conflict\n", - dev->minor); + if (!request_region(iobase, iorange, "acl7225b")) return -EIO; - } dev->board_name = board->name; dev->iobase = iobase; dev->irq = 0; -- 2.7.4