Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364025
b: refs/heads/master
c: 9526728
h: refs/heads/master
i:
  364023: a224f80
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent cb451ce commit 4e8d9ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: 15ab88b6cad83076c1ee7ad411956ae9b9c2fd1e
refs/heads/master: 9526728e0a8516b79f3c62c3a7583269f5195ccb
12 changes: 3 additions & 9 deletions trunk/drivers/staging/comedi/drivers/pcl725.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,11 @@ static int pcl725_di_insn(struct comedi_device *dev, struct comedi_subdevice *s,
static int pcl725_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
struct comedi_subdevice *s;
unsigned long iobase;
int ret;

iobase = it->options[0];
printk(KERN_INFO "comedi%d: pcl725: 0x%04lx ", dev->minor, iobase);
if (!request_region(iobase, PCL725_SIZE, "pcl725")) {
printk("I/O port conflict\n");
return -EIO;
}
dev->iobase = iobase;
dev->irq = 0;
ret = comedi_request_region(dev, it->options[0], PCL725_SIZE);
if (ret)
return ret;

ret = comedi_alloc_subdevices(dev, 2);
if (ret)
Expand Down

0 comments on commit 4e8d9ea

Please sign in to comment.