Commit f737279b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: das800: use comedi provided range_bipolar5

Remove the private range, range_das800_ai, in this driver and use
the comedi provided range_bipolar5 instead.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5d5cabb6
...@@ -114,14 +114,6 @@ struct das800_board { ...@@ -114,14 +114,6 @@ struct das800_board {
int resolution; int resolution;
}; };
/* analog input ranges */
static const struct comedi_lrange range_das800_ai = {
1,
{
RANGE(-5, 5),
}
};
static const struct comedi_lrange range_das801_ai = { static const struct comedi_lrange range_das801_ai = {
9, 9,
{ {
...@@ -187,13 +179,13 @@ static const struct das800_board das800_boards[] = { ...@@ -187,13 +179,13 @@ static const struct das800_board das800_boards[] = {
{ {
.name = "das-800", .name = "das-800",
.ai_speed = 25000, .ai_speed = 25000,
.ai_range = &range_das800_ai, .ai_range = &range_bipolar5,
.resolution = 12, .resolution = 12,
}, },
{ {
.name = "cio-das800", .name = "cio-das800",
.ai_speed = 20000, .ai_speed = 20000,
.ai_range = &range_das800_ai, .ai_range = &range_bipolar5,
.resolution = 12, .resolution = 12,
}, },
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment