Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175084
b: refs/heads/master
c: b055d0d
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Patrick Johnson authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 61eeadc commit 9b9ae14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 828684f9a6e096f9150bad523c43b75d74b9badd
refs/heads/master: b055d0d3c74a7b9bbf18806b2814632a9da922f3
9 changes: 3 additions & 6 deletions trunk/drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,8 @@ static int mio_cs_detach(struct comedi_device *dev)

/* PCMCIA layer frees the IO region */

if (dev->irq) {
if (dev->irq)
free_irq(dev->irq, dev);
}

return 0;
}
Expand Down Expand Up @@ -293,9 +292,8 @@ static void cs_detach(struct pcmcia_device *link)
{
DPRINTK("cs_detach(link=%p)\n", link);

if (link->dev_node) {
if (link->dev_node)
cs_release(link);
}
}

static int mio_cs_suspend(struct pcmcia_device *link)
Expand Down Expand Up @@ -387,9 +385,8 @@ static int mio_cs_attach(struct comedi_device *dev, struct comedi_devconfig *it)
}
printk("\n");
printk(" board fingerprint (windowed):");
for (i = 0; i < 10; i++) {
for (i = 0; i < 10; i++)
printk(" 0x%04x", win_in(i));
}
printk("\n");
}
#endif
Expand Down

0 comments on commit 9b9ae14

Please sign in to comment.