diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-11-26 18:42:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 12:20:22 -0500 |
commit | eeb6f2d3b7406e569c718f265100cce0227841bd (patch) | |
tree | 105877d669ccd6a071abad9346531cd2c916c4ed | |
parent | de4ea8e3c1d6fa5af584e48bfe321c9cff2a79fc (diff) |
staging: comedi: pcl818: remove board attach noise
These messages are just added noise. Remove them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/pcl818.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c index 931aed0e2c23..945a5dd4ec48 100644 --- a/drivers/staging/comedi/drivers/pcl818.c +++ b/drivers/staging/comedi/drivers/pcl818.c | |||
@@ -1234,16 +1234,10 @@ static int pcl818_attach(struct comedi_device *dev, struct comedi_devconfig *it) | |||
1234 | irq = it->options[1]; | 1234 | irq = it->options[1]; |
1235 | if (irq) { /* we want to use IRQ */ | 1235 | if (irq) { /* we want to use IRQ */ |
1236 | if (((1 << irq) & board->IRQbits) == 0) { | 1236 | if (((1 << irq) & board->IRQbits) == 0) { |
1237 | printk | ||
1238 | (", IRQ %u is out of allowed range, DISABLING IT", | ||
1239 | irq); | ||
1240 | irq = 0; /* Bad IRQ */ | 1237 | irq = 0; /* Bad IRQ */ |
1241 | } else { | 1238 | } else { |
1242 | if (request_irq(irq, interrupt_pcl818, 0, | 1239 | if (request_irq(irq, interrupt_pcl818, 0, |
1243 | dev->board_name, dev)) { | 1240 | dev->board_name, dev)) { |
1244 | printk | ||
1245 | (", unable to allocate IRQ %u, DISABLING IT", | ||
1246 | irq); | ||
1247 | irq = 0; /* Can't use IRQ */ | 1241 | irq = 0; /* Can't use IRQ */ |
1248 | } | 1242 | } |
1249 | } | 1243 | } |
@@ -1308,11 +1302,9 @@ no_dma: | |||
1308 | if (check_single_ended(dev->iobase)) { | 1302 | if (check_single_ended(dev->iobase)) { |
1309 | s->n_chan = board->n_aichan_se; | 1303 | s->n_chan = board->n_aichan_se; |
1310 | s->subdev_flags |= SDF_COMMON | SDF_GROUND; | 1304 | s->subdev_flags |= SDF_COMMON | SDF_GROUND; |
1311 | printk(", %dchans S.E. DAC", s->n_chan); | ||
1312 | } else { | 1305 | } else { |
1313 | s->n_chan = board->n_aichan_diff; | 1306 | s->n_chan = board->n_aichan_diff; |
1314 | s->subdev_flags |= SDF_DIFF; | 1307 | s->subdev_flags |= SDF_DIFF; |
1315 | printk(", %dchans DIFF DAC", s->n_chan); | ||
1316 | } | 1308 | } |
1317 | s->maxdata = board->ai_maxdata; | 1309 | s->maxdata = board->ai_maxdata; |
1318 | s->len_chanlist = s->n_chan; | 1310 | s->len_chanlist = s->n_chan; |
@@ -1431,8 +1423,6 @@ no_dma: | |||
1431 | 1423 | ||
1432 | pcl818_reset(dev); | 1424 | pcl818_reset(dev); |
1433 | 1425 | ||
1434 | printk("\n"); | ||
1435 | |||
1436 | return 0; | 1426 | return 0; |
1437 | } | 1427 | } |
1438 | 1428 | ||