Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317364
b: refs/heads/master
c: 3e189f0
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 14, 2012
1 parent dc56597 commit a5311fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 34cfcf9acc6b0697e71294007c57eae91b80005c
refs/heads/master: 3e189f08ef81e27aeccd2c2fb55175451f9faa71
6 changes: 4 additions & 2 deletions trunk/drivers/staging/comedi/drivers/8255.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ int subdev_8255_init_irq(struct comedi_device *dev, struct comedi_subdevice *s,
int ret;

ret = subdev_8255_init(dev, s, io, iobase);
if (ret < 0)
if (ret)
return ret;

s->do_cmdtest = subdev_8255_cmdtest;
Expand Down Expand Up @@ -399,7 +399,9 @@ static int dev_8255_attach(struct comedi_device *dev,

s->type = COMEDI_SUBD_UNUSED;
} else {
subdev_8255_init(dev, s, NULL, iobase);
ret = subdev_8255_init(dev, s, NULL, iobase);
if (ret)
return ret;
dev_info(dev->class_dev, "0x%04lx\n", iobase);
}
}
Expand Down

0 comments on commit a5311fe

Please sign in to comment.