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

staging: comedi: adl_pci9111: cleanup pci9111_hr_ai_range

For aesthetic reasons, rename the symbol and fix the whitespace.
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 8c7524e6
...@@ -119,15 +119,15 @@ a multiple of chanlist_len*convert_arg. ...@@ -119,15 +119,15 @@ a multiple of chanlist_len*convert_arg.
#define PCI9111_8254_BASE_REG 0x40 #define PCI9111_8254_BASE_REG 0x40
#define PCI9111_INT_CLR_REG 0x48 #define PCI9111_INT_CLR_REG 0x48
static const struct comedi_lrange pci9111_hr_ai_range = { static const struct comedi_lrange pci9111_ai_range = {
5, 5,
{ {
BIP_RANGE(10), BIP_RANGE(10),
BIP_RANGE(5), BIP_RANGE(5),
BIP_RANGE(2.5), BIP_RANGE(2.5),
BIP_RANGE(1.25), BIP_RANGE(1.25),
BIP_RANGE(0.625) BIP_RANGE(0.625)
} }
}; };
/* Private data structure */ /* Private data structure */
...@@ -990,7 +990,7 @@ static int pci9111_attach_pci(struct comedi_device *dev, ...@@ -990,7 +990,7 @@ static int pci9111_attach_pci(struct comedi_device *dev,
s->n_chan = 16; s->n_chan = 16;
s->maxdata = 0xffff; s->maxdata = 0xffff;
s->len_chanlist = 16; s->len_chanlist = 16;
s->range_table = &pci9111_hr_ai_range; s->range_table = &pci9111_ai_range;
s->cancel = pci9111_ai_cancel; s->cancel = pci9111_ai_cancel;
s->insn_read = pci9111_ai_insn_read; s->insn_read = pci9111_ai_insn_read;
s->do_cmdtest = pci9111_ai_do_cmd_test; s->do_cmdtest = pci9111_ai_do_cmd_test;
......
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