diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-08 21:15:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-09 19:29:03 -0400 |
commit | 62d4d5613d8b4c35555ef338ac27c3df1e36e4b4 (patch) | |
tree | 0e95d0d7d9f244f00edc245a2b57bc5ce1bc288b /drivers/staging | |
parent | f20156819fd695dde50985443b93fae11df1dd4e (diff) |
staging: comedi: rti800: remove board attach kernel noise
The printk's during the bard 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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/rti800.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/staging/comedi/drivers/rti800.c b/drivers/staging/comedi/drivers/rti800.c index 1d8cc34e542c..fdfbf412cc73 100644 --- a/drivers/staging/comedi/drivers/rti800.c +++ b/drivers/staging/comedi/drivers/rti800.c | |||
@@ -309,11 +309,8 @@ static int rti800_attach(struct comedi_device *dev, struct comedi_devconfig *it) | |||
309 | struct comedi_subdevice *s; | 309 | struct comedi_subdevice *s; |
310 | 310 | ||
311 | iobase = it->options[0]; | 311 | iobase = it->options[0]; |
312 | printk(KERN_INFO "comedi%d: rti800: 0x%04lx\n", dev->minor, iobase); | 312 | if (!request_region(iobase, RTI800_SIZE, "rti800")) |
313 | if (!request_region(iobase, RTI800_SIZE, "rti800")) { | ||
314 | printk(KERN_WARNING "I/O port conflict\n"); | ||
315 | return -EIO; | 313 | return -EIO; |
316 | } | ||
317 | dev->iobase = iobase; | 314 | dev->iobase = iobase; |
318 | 315 | ||
319 | outb(0, dev->iobase + RTI800_CSR); | 316 | outb(0, dev->iobase + RTI800_CSR); |
@@ -322,15 +319,10 @@ static int rti800_attach(struct comedi_device *dev, struct comedi_devconfig *it) | |||
322 | 319 | ||
323 | irq = it->options[1]; | 320 | irq = it->options[1]; |
324 | if (irq) { | 321 | if (irq) { |
325 | printk(KERN_INFO "( irq = %u )\n", irq); | ||
326 | ret = request_irq(irq, rti800_interrupt, 0, "rti800", dev); | 322 | ret = request_irq(irq, rti800_interrupt, 0, "rti800", dev); |
327 | if (ret < 0) { | 323 | if (ret < 0) |
328 | printk(KERN_WARNING " Failed to allocate IRQ\n"); | ||
329 | return ret; | 324 | return ret; |
330 | } | ||
331 | dev->irq = irq; | 325 | dev->irq = irq; |
332 | } else { | ||
333 | printk(KERN_INFO "( no irq )\n"); | ||
334 | } | 326 | } |
335 | 327 | ||
336 | dev->board_name = board->name; | 328 | dev->board_name = board->name; |