Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363870
b: refs/heads/master
c: ff0f7ad
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 5, 2013
1 parent 4d17653 commit 061f1ec
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f737279b36f9e345c406e599880a3392fbd95a33
refs/heads/master: ff0f7ad58fcd614b990d0ce649a918bfeb644cde
14 changes: 2 additions & 12 deletions trunk/drivers/staging/comedi/drivers/dt9812.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,21 +303,11 @@ struct slot_dt9812 {
struct comedi_dt9812 *comedi;
};

static const struct comedi_lrange dt9812_10_ain_range = { 1, {
BIP_RANGE(10),
}
};

static const struct comedi_lrange dt9812_2pt5_ain_range = { 1, {
UNI_RANGE(2.5),
}
};

static const struct comedi_lrange dt9812_10_aout_range = { 1, {
BIP_RANGE(10),
}
};

static const struct comedi_lrange dt9812_2pt5_aout_range = { 1, {
UNI_RANGE(2.5),
}
Expand Down Expand Up @@ -912,7 +902,7 @@ static int dt9812_comedi_open(struct comedi_device *dev)
switch (devpriv->slot->usb->device) {
case 0:{
s->maxdata = 4095;
s->range_table = &dt9812_10_ain_range;
s->range_table = &range_bipolar10;
}
break;
case 1:{
Expand All @@ -927,7 +917,7 @@ static int dt9812_comedi_open(struct comedi_device *dev)
switch (devpriv->slot->usb->device) {
case 0:{
s->maxdata = 4095;
s->range_table = &dt9812_10_aout_range;
s->range_table = &range_bipolar10;
}
break;
case 1:{
Expand Down

0 comments on commit 061f1ec

Please sign in to comment.