]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
staging: comedi: ni_labpc: cleanup the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:40:36 +0000 (09:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:39:21 +0000 (11:39 -0700)
For aesthetic reasons, add some whitespace to the boardinfo.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index d2afcaead52347d0ebd51ff9739c1b1236d25640..05751467e4223f4f9cefbaf7148d794baeda59c8 100644 (file)
@@ -373,50 +373,48 @@ static inline void labpc_writeb(unsigned int byte, unsigned long address)
 
 static const struct labpc_boardinfo labpc_boards[] = {
        {
-        .name = "lab-pc-1200",
-        .ai_speed = 10000,
-        .bustype = isa_bustype,
-        .register_layout = labpc_1200_layout,
-        .has_ao = 1,
-        .ai_range_table = &range_labpc_1200_ai,
-        .ai_range_code = labpc_1200_ai_gain_bits,
-        .ai_range_is_unipolar = labpc_1200_is_unipolar,
-        .ai_scan_up = 1,
-        },
-       {
-        .name = "lab-pc-1200ai",
-        .ai_speed = 10000,
-        .bustype = isa_bustype,
-        .register_layout = labpc_1200_layout,
-        .ai_range_table = &range_labpc_1200_ai,
-        .ai_range_code = labpc_1200_ai_gain_bits,
-        .ai_range_is_unipolar = labpc_1200_is_unipolar,
-        .ai_scan_up = 1,
-        },
-       {
-        .name = "lab-pc+",
-        .ai_speed = 12000,
-        .bustype = isa_bustype,
-        .register_layout = labpc_plus_layout,
-        .has_ao = 1,
-        .ai_range_table = &range_labpc_plus_ai,
-        .ai_range_code = labpc_plus_ai_gain_bits,
-        .ai_range_is_unipolar = labpc_plus_is_unipolar,
-        },
+               .name                   = "lab-pc-1200",
+               .ai_speed               = 10000,
+               .bustype                = isa_bustype,
+               .register_layout        = labpc_1200_layout,
+               .has_ao                 = 1,
+               .ai_range_table         = &range_labpc_1200_ai,
+               .ai_range_code          = labpc_1200_ai_gain_bits,
+               .ai_range_is_unipolar   = labpc_1200_is_unipolar,
+               .ai_scan_up             = 1,
+       }, {
+               .name                   = "lab-pc-1200ai",
+               .ai_speed               = 10000,
+               .bustype                = isa_bustype,
+               .register_layout        = labpc_1200_layout,
+               .ai_range_table         = &range_labpc_1200_ai,
+               .ai_range_code          = labpc_1200_ai_gain_bits,
+               .ai_range_is_unipolar   = labpc_1200_is_unipolar,
+               .ai_scan_up             = 1,
+       }, {
+               .name                   = "lab-pc+",
+               .ai_speed               = 12000,
+               .bustype                = isa_bustype,
+               .register_layout        = labpc_plus_layout,
+               .has_ao                 = 1,
+               .ai_range_table         = &range_labpc_plus_ai,
+               .ai_range_code          = labpc_plus_ai_gain_bits,
+               .ai_range_is_unipolar   = labpc_plus_is_unipolar,
+       },
 #ifdef CONFIG_COMEDI_PCI_DRIVERS
        {
-        .name = "pci-1200",
-        .device_id = 0x161,
-        .ai_speed = 10000,
-        .bustype = pci_bustype,
-        .register_layout = labpc_1200_layout,
-        .has_ao = 1,
-        .ai_range_table = &range_labpc_1200_ai,
-        .ai_range_code = labpc_1200_ai_gain_bits,
-        .ai_range_is_unipolar = labpc_1200_is_unipolar,
-        .ai_scan_up = 1,
-        .memory_mapped_io = 1,
-        },
+               .name                   = "pci-1200",
+               .device_id              = 0x161,
+               .ai_speed               = 10000,
+               .bustype                = pci_bustype,
+               .register_layout        = labpc_1200_layout,
+               .has_ao                 = 1,
+               .ai_range_table         = &range_labpc_1200_ai,
+               .ai_range_code          = labpc_1200_ai_gain_bits,
+               .ai_range_is_unipolar   = labpc_1200_is_unipolar,
+               .ai_scan_up             = 1,
+               .memory_mapped_io       = 1,
+       },
 #endif
 };