Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324846
b: refs/heads/master
c: e11c07f
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent e969153 commit 64a0f93
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d8029dcf1be06797d75ff53100bf45949d4a2767
refs/heads/master: e11c07fe386c4aff703ac87c9ec990acdfe12e39
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/amplc_pci224.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ static int pci224_attach_common(struct comedi_device *dev,
if (ret)
return ret;

s = dev->subdevices + 0;
s = &dev->subdevices[0];
/* Analog output subdevice. */
s->type = COMEDI_SUBD_AO;
s->subdev_flags = SDF_WRITABLE | SDF_GROUND | SDF_CMD_WRITE;
Expand Down Expand Up @@ -1523,7 +1523,7 @@ static void pci224_detach(struct comedi_device *dev)
if (dev->subdevices) {
struct comedi_subdevice *s;

s = dev->subdevices + 0;
s = &dev->subdevices[0];
/* AO subdevice */
kfree(s->range_table_list);
}
Expand Down

0 comments on commit 64a0f93

Please sign in to comment.