staging: comedi: ni_atmio: tidy up the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Jun 2014 18:10:27 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jun 2014 21:17:59 +0000 (14:17 -0700)
For aesthetics, add some whitespace to the boardinfo declaration.

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>
drivers/staging/comedi/drivers/ni_atmio.c

index f3122eaa2ab6c582d11ce5c7c216e309be6f6583..3ea49c79cec7941899edd10adbbc37ba92e5474d 100644 (file)
@@ -106,136 +106,137 @@ are not supported.
  */
 
 static const struct ni_board_struct ni_boards[] = {
-       {.device_id = 44,
-        .isapnp_id = 0x0000,   /* XXX unknown */
-        .name = "at-mio-16e-1",
-        .n_adchan = 16,
-        .adbits = 12,
-        .ai_fifo_depth = 8192,
-        .gainlkup = ai_gain_16,
-        .ai_speed = 800,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_fifo_depth = 2048,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 1000,
-        .num_p0_dio_channels = 8,
-        .caldac = {mb88341},
-        },
-       {.device_id = 25,
-        .isapnp_id = 0x1900,
-        .name = "at-mio-16e-2",
-        .n_adchan = 16,
-        .adbits = 12,
-        .ai_fifo_depth = 2048,
-        .gainlkup = ai_gain_16,
-        .ai_speed = 2000,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_fifo_depth = 2048,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 1000,
-        .num_p0_dio_channels = 8,
-        .caldac = {mb88341},
-        },
-       {.device_id = 36,
-        .isapnp_id = 0x2400,
-        .name = "at-mio-16e-10",
-        .n_adchan = 16,
-        .adbits = 12,
-        .ai_fifo_depth = 512,
-        .gainlkup = ai_gain_16,
-        .ai_speed = 10000,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 10000,
-        .num_p0_dio_channels = 8,
-        .caldac = {ad8804_debug},
-        },
-       {.device_id = 37,
-        .isapnp_id = 0x2500,
-        .name = "at-mio-16de-10",
-        .n_adchan = 16,
-        .adbits = 12,
-        .ai_fifo_depth = 512,
-        .gainlkup = ai_gain_16,
-        .ai_speed = 10000,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 10000,
-        .num_p0_dio_channels = 8,
-        .caldac = {ad8804_debug},
-        .has_8255 = 1,
-        },
-       {.device_id = 38,
-        .isapnp_id = 0x2600,
-        .name = "at-mio-64e-3",
-        .n_adchan = 64,
-        .adbits = 12,
-        .ai_fifo_depth = 2048,
-        .gainlkup = ai_gain_16,
-        .ai_speed = 2000,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_fifo_depth = 2048,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 1000,
-        .num_p0_dio_channels = 8,
-        .caldac = {ad8804_debug},
-        },
-       {.device_id = 39,
-        .isapnp_id = 0x2700,
-        .name = "at-mio-16xe-50",
-        .n_adchan = 16,
-        .adbits = 16,
-        .ai_fifo_depth = 512,
-        .alwaysdither = 1,
-        .gainlkup = ai_gain_8,
-        .ai_speed = 50000,
-        .n_aochan = 2,
-        .aobits = 12,
-        .ao_range_table = &range_bipolar10,
-        .ao_speed = 50000,
-        .num_p0_dio_channels = 8,
-        .caldac = {dac8800, dac8043},
-        },
-       {.device_id = 50,
-        .isapnp_id = 0x0000,   /* XXX unknown */
-        .name = "at-mio-16xe-10",
-        .n_adchan = 16,
-        .adbits = 16,
-        .ai_fifo_depth = 512,
-        .alwaysdither = 1,
-        .gainlkup = ai_gain_14,
-        .ai_speed = 10000,
-        .n_aochan = 2,
-        .aobits = 16,
-        .ao_fifo_depth = 2048,
-        .ao_range_table = &range_ni_E_ao_ext,
-        .ao_unipolar = 1,
-        .ao_speed = 1000,
-        .num_p0_dio_channels = 8,
-        .caldac = {dac8800, dac8043, ad8522},
-        },
-       {.device_id = 51,
-        .isapnp_id = 0x0000,   /* XXX unknown */
-        .name = "at-ai-16xe-10",
-        .n_adchan = 16,
-        .adbits = 16,
-        .ai_fifo_depth = 512,
-        .alwaysdither = 1,     /* unknown */
-        .gainlkup = ai_gain_14,
-        .ai_speed = 10000,
-        .num_p0_dio_channels = 8,
-        .caldac = {dac8800, dac8043, ad8522},
-        }
+       {
+               .device_id      = 44,
+               .isapnp_id      = 0x0000,       /* XXX unknown */
+               .name           = "at-mio-16e-1",
+               .n_adchan       = 16,
+               .adbits         = 12,
+               .ai_fifo_depth  = 8192,
+               .gainlkup       = ai_gain_16,
+               .ai_speed       = 800,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_fifo_depth  = 2048,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 1000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { mb88341 },
+       }, {
+               .device_id      = 25,
+               .isapnp_id      = 0x1900,
+               .name           = "at-mio-16e-2",
+               .n_adchan       = 16,
+               .adbits         = 12,
+               .ai_fifo_depth  = 2048,
+               .gainlkup       = ai_gain_16,
+               .ai_speed       = 2000,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_fifo_depth  = 2048,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 1000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { mb88341 },
+       }, {
+               .device_id      = 36,
+               .isapnp_id      = 0x2400,
+               .name           = "at-mio-16e-10",
+               .n_adchan       = 16,
+               .adbits         = 12,
+               .ai_fifo_depth  = 512,
+               .gainlkup       = ai_gain_16,
+               .ai_speed       = 10000,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 10000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { ad8804_debug },
+       }, {
+               .device_id      = 37,
+               .isapnp_id      = 0x2500,
+               .name           = "at-mio-16de-10",
+               .n_adchan       = 16,
+               .adbits         = 12,
+               .ai_fifo_depth  = 512,
+               .gainlkup       = ai_gain_16,
+               .ai_speed       = 10000,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 10000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { ad8804_debug },
+               .has_8255       = 1,
+       }, {
+               .device_id      = 38,
+               .isapnp_id      = 0x2600,
+               .name           = "at-mio-64e-3",
+               .n_adchan       = 64,
+               .adbits         = 12,
+               .ai_fifo_depth  = 2048,
+               .gainlkup       = ai_gain_16,
+               .ai_speed       = 2000,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_fifo_depth  = 2048,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 1000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { ad8804_debug },
+       }, {
+               .device_id      = 39,
+               .isapnp_id      = 0x2700,
+               .name           = "at-mio-16xe-50",
+               .n_adchan       = 16,
+               .adbits         = 16,
+               .ai_fifo_depth  = 512,
+               .alwaysdither   = 1,
+               .gainlkup       = ai_gain_8,
+               .ai_speed       = 50000,
+               .n_aochan       = 2,
+               .aobits         = 12,
+               .ao_range_table = &range_bipolar10,
+               .ao_speed       = 50000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { dac8800, dac8043 },
+       }, {
+               .device_id      = 50,
+               .isapnp_id      = 0x0000,       /* XXX unknown */
+               .name           = "at-mio-16xe-10",
+               .n_adchan       = 16,
+               .adbits         = 16,
+               .ai_fifo_depth  = 512,
+               .alwaysdither   = 1,
+               .gainlkup       = ai_gain_14,
+               .ai_speed       = 10000,
+               .n_aochan       = 2,
+               .aobits         = 16,
+               .ao_fifo_depth  = 2048,
+               .ao_range_table = &range_ni_E_ao_ext,
+               .ao_unipolar    = 1,
+               .ao_speed       = 1000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { dac8800, dac8043, ad8522 },
+       }, {
+               .device_id      = 51,
+               .isapnp_id      = 0x0000,       /* XXX unknown */
+               .name           = "at-ai-16xe-10",
+               .n_adchan       = 16,
+               .adbits         = 16,
+               .ai_fifo_depth  = 512,
+               .alwaysdither   = 1,    /* unknown */
+               .gainlkup       = ai_gain_14,
+               .ai_speed       = 10000,
+               .num_p0_dio_channels = 8,
+               .caldac         = { dac8800, dac8043, ad8522 },
+       },
 };
 
 static const int ni_irqpin[] = {