]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: das1800: tidy up boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 8 Apr 2016 19:41:34 +0000 (12:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:16:10 +0000 (22:16 -0700)
For aesthetics, add some whitespace to the boardinfo array.

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/das1800.c

index fc8c0f92818e87a79e21d9276b500aadfaf0544c..aba8021afdb08f44bc6d766e15641cf9522d725f 100644 (file)
@@ -219,203 +219,186 @@ struct das1800_board {
  */
 static const struct das1800_board das1800_boards[] = {
        {
-        .name = "das-1701st",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1701st-da",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 4,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1702st",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1702st-da",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 4,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1702hr",
-        .ai_speed = 20000,
-        .resolution = 16,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1702hr-da",
-        .ai_speed = 20000,
-        .resolution = 16,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1701ao",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 2,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1702ao",
-        .ai_speed = 6250,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 2,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1801st",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1801st-da",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 4,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1802st",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1802st-da",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 4,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1802hr",
-        .ai_speed = 10000,
-        .resolution = 16,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 0,
-        .ao_n_chan = 0,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1802hr-da",
-        .ai_speed = 10000,
-        .resolution = 16,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 1,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1801hc",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 64,
-        .common = 0,
-        .do_n_chan = 8,
-        .ao_ability = 1,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1802hc",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 64,
-        .common = 0,
-        .do_n_chan = 8,
-        .ao_ability = 1,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1802,
-        },
-       {
-        .name = "das-1801ao",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 2,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1801,
-        },
-       {
-        .name = "das-1802ao",
-        .ai_speed = 3000,
-        .resolution = 12,
-        .qram_len = 256,
-        .common = 1,
-        .do_n_chan = 4,
-        .ao_ability = 2,
-        .ao_n_chan = 2,
-        .range_ai = &range_ai_das1802,
-        },
+               .name           = "das-1701st",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1701st-da",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 4,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1702st",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1702st-da",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 4,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1702hr",
+               .ai_speed       = 20000,
+               .resolution     = 16,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1702hr-da",
+               .ai_speed       = 20000,
+               .resolution     = 16,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1701ao",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 2,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1702ao",
+               .ai_speed       = 6250,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 2,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1801st",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1801st-da",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 4,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1802st",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1802st-da",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 4,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1802hr",
+               .ai_speed       = 10000,
+               .resolution     = 16,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 0,
+               .ao_n_chan      = 0,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1802hr-da",
+               .ai_speed       = 10000,
+               .resolution     = 16,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 1,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1801hc",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 64,
+               .common         = 0,
+               .do_n_chan      = 8,
+               .ao_ability     = 1,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1802hc",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 64,
+               .common         = 0,
+               .do_n_chan      = 8,
+               .ao_ability     = 1,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1802,
+       }, {
+               .name           = "das-1801ao",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 2,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1801,
+       }, {
+               .name           = "das-1802ao",
+               .ai_speed       = 3000,
+               .resolution     = 12,
+               .qram_len       = 256,
+               .common         = 1,
+               .do_n_chan      = 4,
+               .ao_ability     = 2,
+               .ao_n_chan      = 2,
+               .range_ai       = &range_ai_das1802,
+       },
 };
 
 struct das1800_private {