All the board types use the same analog input range_table. Remove this
data from the boardinfo.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
const char *name;
unsigned int ai_ns_min;
int n_aochan;
- const struct comedi_lrange *ai_range_type;
unsigned int IRQbits;
int ai_maxdata;
int ao_maxdata;
.name = "pcl816",
.ai_ns_min = 10000,
.n_aochan = 1,
- .ai_range_type = &range_pcl816,
.IRQbits = 0x00fc,
.ai_maxdata = 0xffff,
.ao_maxdata = 0xffff,
.name = "pcl814b",
.ai_ns_min = 10000,
.n_aochan = 1,
- .ai_range_type = &range_pcl816,
.IRQbits = 0x00fc,
.ai_maxdata = 0x3fff,
.ao_maxdata = 0x3fff,
s->subdev_flags = SDF_CMD_READ | SDF_DIFF;
s->n_chan = 16;
s->maxdata = board->ai_maxdata;
- s->range_table = board->ai_range_type;
+ s->range_table = &range_pcl816;
s->insn_read = pcl816_ai_insn_read;
if (dev->irq) {
dev->read_subdev = s;