提交 221fa08c 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

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: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 07e6b2e2
......@@ -338,25 +338,18 @@ static int ni_atmio_attach(struct comedi_device *dev,
dev->board_ptr = ni_boards + board;
boardtype = comedi_board(dev);
printk(" %s", boardtype->name);
dev->board_name = boardtype->name;
/* irq stuff */
if (irq != 0) {
if (irq > 15 || ni_irqpin[irq] == -1) {
printk(" invalid irq %u\n", irq);
if (irq > 15 || ni_irqpin[irq] == -1)
return -EINVAL;
}
printk(" ( irq = %u )", irq);
ret = request_irq(irq, ni_E_interrupt, 0,
"ni_atmio", dev);
if (ret < 0) {
printk(" irq not available\n");
if (ret < 0)
return -EINVAL;
}
dev->irq = irq;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册