Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281377
b: refs/heads/master
c: 1e3a287
h: refs/heads/master
i:
  281375: d537fd4
v: v3
  • Loading branch information
Ravishankar karkala Mallikarjunayya authored and Greg Kroah-Hartman committed Dec 14, 2011
1 parent 0c0ee2f commit 16986e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2499d5c0d8571d9ac756bd8438b5f25fbaf132d
refs/heads/master: 1e3a2875684bcc4af1e2f6597fdd502cc59e3593
7 changes: 4 additions & 3 deletions trunk/drivers/staging/comedi/drivers/das1800.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ static int das1800_attach(struct comedi_device *dev,

board = das1800_probe(dev);
if (board < 0) {
printk(" unable to determine board type\n");
dev_err(dev->hw_dev, "unable to determine board type\n");
return -ENODEV;
}

Expand All @@ -684,7 +684,8 @@ static int das1800_attach(struct comedi_device *dev,
if (irq) {
if (request_irq(irq, das1800_interrupt, 0,
driver_das1800.driver_name, dev)) {
printk(" unable to allocate irq %u\n", irq);
dev_dbg(dev->hw_dev, "unable to allocate irq %u\n",
irq);
return -EINVAL;
}
}
Expand Down Expand Up @@ -713,7 +714,7 @@ static int das1800_attach(struct comedi_device *dev,
devpriv->irq_dma_bits |= 0x38;
break;
default:
printk(" irq out of range\n");
dev_err(dev->hw_dev, "irq out of range\n");
return -EINVAL;
break;
}
Expand Down

0 comments on commit 16986e6

Please sign in to comment.