staging: comedi: ni_atmio: remove board attach noise
Remove the printk messages in the (*attach) of this driver. These are just added noise. 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>
This commit is contained in:
parent
07e6b2e2a8
commit
221fa08c53
1 changed files with 2 additions and 9 deletions
|
@ -338,25 +338,18 @@ static int ni_atmio_attach(struct comedi_device *dev,
|
||||||
|
|
||||||
dev->board_ptr = ni_boards + board;
|
dev->board_ptr = ni_boards + board;
|
||||||
boardtype = comedi_board(dev);
|
boardtype = comedi_board(dev);
|
||||||
|
|
||||||
printk(" %s", boardtype->name);
|
|
||||||
dev->board_name = boardtype->name;
|
dev->board_name = boardtype->name;
|
||||||
|
|
||||||
/* irq stuff */
|
/* irq stuff */
|
||||||
|
|
||||||
if (irq != 0) {
|
if (irq != 0) {
|
||||||
if (irq > 15 || ni_irqpin[irq] == -1) {
|
if (irq > 15 || ni_irqpin[irq] == -1)
|
||||||
printk(" invalid irq %u\n", irq);
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
|
||||||
printk(" ( irq = %u )", irq);
|
|
||||||
ret = request_irq(irq, ni_E_interrupt, 0,
|
ret = request_irq(irq, ni_E_interrupt, 0,
|
||||||
"ni_atmio", dev);
|
"ni_atmio", dev);
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0)
|
||||||
printk(" irq not available\n");
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
|
||||||
dev->irq = irq;
|
dev->irq = irq;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue