staging: comedi: dt3000: cleanup the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 26 Oct 2012 00:25:53 +0000 (17:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:18:17 +0000 (09:18 -0700)
Add some whitespace to make the code more readable.

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

index 48d303298a20c6a4793330ba7132c8cc3823db65..be65a1ccfc98a4abfed4b8ffe30d1b631c2dace1 100644 (file)
@@ -91,7 +91,6 @@ static const struct comedi_lrange range_dt3000_ai_pgl = {
 };
 
 struct dt3k_boardtype {
-
        const char *name;
        unsigned int device_id;
        int adchan;
@@ -103,67 +102,68 @@ struct dt3k_boardtype {
 };
 
 static const struct dt3k_boardtype dt3k_boardtypes[] = {
-       {.name = "dt3001",
-        .device_id = PCI_DEVICE_ID_DT3001,
-        .adchan = 16,
-        .adbits = 12,
-        .adrange = &range_dt3000_ai,
-        .ai_speed = 3000,
-        .dachan = 2,
-        .dabits = 12,
-        },
-       {.name = "dt3001-pgl",
-        .device_id = PCI_DEVICE_ID_DT3001_PGL,
-        .adchan = 16,
-        .adbits = 12,
-        .adrange = &range_dt3000_ai_pgl,
-        .ai_speed = 3000,
-        .dachan = 2,
-        .dabits = 12,
-        },
-       {.name = "dt3002",
-        .device_id = PCI_DEVICE_ID_DT3002,
-        .adchan = 32,
-        .adbits = 12,
-        .adrange = &range_dt3000_ai,
-        .ai_speed = 3000,
-        },
-       {.name = "dt3003",
-        .device_id = PCI_DEVICE_ID_DT3003,
-        .adchan = 64,
-        .adbits = 12,
-        .adrange = &range_dt3000_ai,
-        .ai_speed = 3000,
-        .dachan = 2,
-        .dabits = 12,
-        },
-       {.name = "dt3003-pgl",
-        .device_id = PCI_DEVICE_ID_DT3003_PGL,
-        .adchan = 64,
-        .adbits = 12,
-        .adrange = &range_dt3000_ai_pgl,
-        .ai_speed = 3000,
-        .dachan = 2,
-        .dabits = 12,
-        },
-       {.name = "dt3004",
-        .device_id = PCI_DEVICE_ID_DT3004,
-        .adchan = 16,
-        .adbits = 16,
-        .adrange = &range_dt3000_ai,
-        .ai_speed = 10000,
-        .dachan = 2,
-        .dabits = 12,
-        },
-       {.name = "dt3005",      /* a.k.a. 3004-200 */
-        .device_id = PCI_DEVICE_ID_DT3005,
-        .adchan = 16,
-        .adbits = 16,
-        .adrange = &range_dt3000_ai,
-        .ai_speed = 5000,
-        .dachan = 2,
-        .dabits = 12,
-        },
+       {
+               .name           = "dt3001",
+               .device_id      = PCI_DEVICE_ID_DT3001,
+               .adchan         = 16,
+               .adbits         = 12,
+               .adrange        = &range_dt3000_ai,
+               .ai_speed       = 3000,
+               .dachan         = 2,
+               .dabits         = 12,
+       }, {
+               .name           = "dt3001-pgl",
+               .device_id      = PCI_DEVICE_ID_DT3001_PGL,
+               .adchan         = 16,
+               .adbits         = 12,
+               .adrange        = &range_dt3000_ai_pgl,
+               .ai_speed       = 3000,
+               .dachan         = 2,
+               .dabits         = 12,
+       }, {
+               .name           = "dt3002",
+               .device_id      = PCI_DEVICE_ID_DT3002,
+               .adchan         = 32,
+               .adbits         = 12,
+               .adrange        = &range_dt3000_ai,
+               .ai_speed       = 3000,
+       }, {
+               .name           = "dt3003",
+               .device_id      = PCI_DEVICE_ID_DT3003,
+               .adchan         = 64,
+               .adbits         = 12,
+               .adrange        = &range_dt3000_ai,
+               .ai_speed       = 3000,
+               .dachan         = 2,
+               .dabits         = 12,
+       }, {
+               .name           = "dt3003-pgl",
+               .device_id      = PCI_DEVICE_ID_DT3003_PGL,
+               .adchan         = 64,
+               .adbits         = 12,
+               .adrange        = &range_dt3000_ai_pgl,
+               .ai_speed       = 3000,
+               .dachan         = 2,
+               .dabits         = 12,
+       }, {
+               .name           = "dt3004",
+               .device_id      = PCI_DEVICE_ID_DT3004,
+               .adchan         = 16,
+               .adbits         = 16,
+               .adrange        = &range_dt3000_ai,
+               .ai_speed       = 10000,
+               .dachan         = 2,
+               .dabits         = 12,
+       }, {
+               .name           = "dt3005",     /* a.k.a. 3004-200 */
+               .device_id      = PCI_DEVICE_ID_DT3005,
+               .adchan         = 16,
+               .adbits         = 16,
+               .adrange        = &range_dt3000_ai,
+               .ai_speed       = 5000,
+               .dachan         = 2,
+               .dabits         = 12,
+       },
 };
 
 #define DT3000_SIZE            (4*0x1000)