]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
staging: comedi: acl7225b: remove board attach kernel noise
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 8 Apr 2013 21:29:21 +0000 (14:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 23:19:42 +0000 (16:19 -0700)
The printk's during the board attach are just added noise. Remove
them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/acl7225b.c

index eb8e906929ab0db5363f8550deb1edb7b1569c70..284232fca555b454b06fb9d5f8c41aeb62c05819 100644 (file)
@@ -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;