Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363872
b: refs/heads/master
c: 165f90e
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 5, 2013
1 parent 9f2722c commit 71b23bc
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: 5f8eb72cef685462e1465ce3f317eaac4d93f9bd
refs/heads/master: 165f90ed3f56d9031a7b98a0b30f5a9d412a521f
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,16 +303,6 @@ struct slot_dt9812 {
struct comedi_dt9812 *comedi;
};

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

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

static struct slot_dt9812 dt9812[DT9812_NUM_SLOTS];

static inline struct usb_dt9812 *to_dt9812_dev(struct kref *d)
Expand Down Expand Up @@ -907,7 +897,7 @@ static int dt9812_comedi_open(struct comedi_device *dev)
break;
case 1:{
s->maxdata = 4095;
s->range_table = &dt9812_2pt5_ain_range;
s->range_table = &range_unipolar2_5;
}
break;
}
Expand All @@ -922,7 +912,7 @@ static int dt9812_comedi_open(struct comedi_device *dev)
break;
case 1:{
s->maxdata = 4095;
s->range_table = &dt9812_2pt5_aout_range;
s->range_table = &range_unipolar2_5;
}
break;
}
Expand Down

0 comments on commit 71b23bc

Please sign in to comment.