diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-18 20:29:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 23:08:01 (GMT) |
commit | 221fa08c53261f7694b07c22e91d43fdbef09b62 (patch) | |
tree | aaffd5bafa8a81a6df7533bf6c3367ee20e68acd | |
parent | 07e6b2e2a89ae6c0b61c270099fa23c06ca08ce6 (diff) | |
download | linux-221fa08c53261f7694b07c22e91d43fdbef09b62.tar.xz |
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>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_atmio.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index c613423..8af5a0f 100644 --- a/drivers/staging/comedi/drivers/ni_atmio.c +++ b/drivers/staging/comedi/drivers/ni_atmio.c @@ -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; } |