Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281119
b: refs/heads/master
c: e8f31fd
h: refs/heads/master
i:
  281117: 96683a0
  281115: 95b69d2
  281111: 2bd85ac
  281103: 73b0df8
  281087: b89bda3
v: v3
  • Loading branch information
Ravishankar karkala Mallikarjunayya authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent ae5a45d commit 3513602
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 25c0ca8406682e741fcc1155b1393c7fb74e2917
refs/heads/master: e8f31fd312ce37950bff3295d3ec1e8e0380209f
14 changes: 7 additions & 7 deletions trunk/drivers/staging/comedi/drivers/ni_pcimio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ static int pcimio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
int ret;

printk("comedi%d: ni_pcimio:", dev->minor);
dev_info(dev->hw_dev, "comedi%d: ni_pcimio:\n", dev->minor);

ret = ni_alloc_private(dev);
if (ret < 0)
Expand All @@ -1694,7 +1694,7 @@ static int pcimio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
if (ret < 0)
return ret;

printk(" %s", boardtype.name);
dev_dbg(dev->hw_dev, "%s\n", boardtype.name);
dev->board_name = boardtype.name;

if (boardtype.reg_type & ni_reg_m_series_mask) {
Expand All @@ -1711,7 +1711,7 @@ static int pcimio_attach(struct comedi_device *dev, struct comedi_devconfig *it)

ret = mite_setup(devpriv->mite);
if (ret < 0) {
printk(" error setting up mite\n");
pr_warn("error setting up mite\n");
return ret;
}
comedi_set_hw_dev(dev, &devpriv->mite->pcidev->dev);
Expand Down Expand Up @@ -1739,13 +1739,13 @@ static int pcimio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
dev->irq = mite_irq(devpriv->mite);

if (dev->irq == 0) {
printk(" unknown irq (bad)\n");
pr_warn("unknown irq (bad)\n");
} else {
printk(" ( irq = %u )", dev->irq);
pr_debug("( irq = %u )\n", dev->irq);
ret = request_irq(dev->irq, ni_E_interrupt, NI_E_IRQ_FLAGS,
DRV_NAME, dev);
if (ret < 0) {
printk(" irq not available\n");
pr_warn("irq not available\n");
dev->irq = 0;
}
}
Expand Down Expand Up @@ -1786,7 +1786,7 @@ static int pcimio_find_device(struct comedi_device *dev, int bus, int slot)
}
}
}
printk("no device found\n");
pr_warn("no device found\n");
mite_list_devices();
return -EIO;
}
Expand Down

0 comments on commit 3513602

Please sign in to comment.