Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324531
b: refs/heads/master
c: f2eacff
h: refs/heads/master
i:
  324529: 11b07ac
  324527: 13a4af2
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Aug 15, 2012
1 parent 754f655 commit ac44ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 690e839fc4915a372f2338b148c36d8949822253
refs/heads/master: f2eacff1369c46c7c4dab595a460dd9ec40e51db
13 changes: 1 addition & 12 deletions trunk/drivers/staging/comedi/drivers/dyna_pci10xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ static const struct comedi_lrange range_pci1050_ai = { 3, {

static const char range_codes_pci1050_ai[] = { 0x00, 0x10, 0x30 };

static const struct comedi_lrange range_pci1050_ao = { 1, {
UNI_RANGE(10)
}
};

static const char range_codes_pci1050_ao[] = { 0x00 };

struct boardtype {
const char *name;
int device_id;
Expand All @@ -74,8 +67,6 @@ struct boardtype {
int do_bits;
const struct comedi_lrange *range_ai;
const char *range_codes_ai;
const struct comedi_lrange *range_ao;
const char *range_codes_ao;
};

static const struct boardtype boardtypes[] = {
Expand All @@ -92,8 +83,6 @@ static const struct boardtype boardtypes[] = {
.do_bits = 16,
.range_ai = &range_pci1050_ai,
.range_codes_ai = range_codes_pci1050_ai,
.range_ao = &range_pci1050_ao,
.range_codes_ao = range_codes_pci1050_ao,
},
/* dummy entry corresponding to driver name */
{.name = DRV_NAME},
Expand Down Expand Up @@ -290,7 +279,7 @@ static int dyna_pci10xx_attach_pci(struct comedi_device *dev,
s->subdev_flags = SDF_WRITABLE;
s->n_chan = thisboard->ao_chans;
s->maxdata = 0x0FFF;
s->range_table = thisboard->range_ao;
s->range_table = &range_unipolar10;
s->len_chanlist = 16;
s->insn_write = dyna_pci10xx_insn_write_ao;

Expand Down

0 comments on commit ac44ff6

Please sign in to comment.