Remove the private range, range_das800_ai, in this driver and use
the comedi provided range_bipolar5 instead.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 = {
9,
{
{
.name = "das-800",
.ai_speed = 25000,
- .ai_range = &range_das800_ai,
+ .ai_range = &range_bipolar5,
.resolution = 12,
},
{
.name = "cio-das800",
.ai_speed = 20000,
- .ai_range = &range_das800_ai,
+ .ai_range = &range_bipolar5,
.resolution = 12,
},
{