Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364029
b: refs/heads/master
c: 6f9aa29
h: refs/heads/master
i:
  364027: ba7b346
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent cffd66d commit eb73770
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 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: 3f7b35ce30b5fceddaf5d9a8f33f5dcf0985e3b3
refs/heads/master: 6f9aa29b47f6c277396957ce632bbe2e90c2ddff
15 changes: 3 additions & 12 deletions trunk/drivers/staging/comedi/drivers/pcl730.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,11 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
const struct pcl730_board *board = comedi_board(dev);
struct comedi_subdevice *s;
unsigned long iobase;
unsigned int iorange;
int ret;

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

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

0 comments on commit eb73770

Please sign in to comment.