Skip to content

Commit

Permalink
staging: comedi: acl7225b: remove board attach kernel noise
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 9, 2013
1 parent b505251 commit 894ab19
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/comedi/drivers/acl7225b.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 894ab19

Please sign in to comment.