staging: comedi: addi_apci_3xxx: remove 'i_IorangeBase1' from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Jun 2013 23:12:07 +0000 (16:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:33:41 +0000 (14:33 -0700)
This data in the boardinfo is not used. Remove it.

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

index 9be62e9..26ea0e2 100644 (file)
@@ -78,7 +78,6 @@ enum apci3xxx_boardid {
 
 struct apci3xxx_boardinfo {
        const char *pc_DriverName;
-       int i_IorangeBase1;
        int i_NbrAiChannel;
        int i_NbrAiChannelDiff;
        int i_AiChannelList;
@@ -95,7 +94,6 @@ struct apci3xxx_boardinfo {
 static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        [BOARD_APCI3000_16] = {
                .pc_DriverName          = "apci3000-16",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -106,7 +104,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3000_8] = {
                .pc_DriverName          = "apci3000-8",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -117,7 +114,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3000_4] = {
                .pc_DriverName          = "apci3000-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 4,
                .i_NbrAiChannelDiff     = 2,
                .i_AiChannelList        = 4,
@@ -128,7 +124,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_16] = {
                .pc_DriverName          = "apci3006-16",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -139,7 +134,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_8] = {
                .pc_DriverName          = "apci3006-8",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -150,7 +144,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_4] = {
                .pc_DriverName          = "apci3006-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 4,
                .i_NbrAiChannelDiff     = 2,
                .i_AiChannelList        = 4,
@@ -161,7 +154,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_16] = {
                .pc_DriverName          = "apci3010-16",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -174,7 +166,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_8] = {
                .pc_DriverName          = "apci3010-8",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -187,7 +178,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_4] = {
                .pc_DriverName          = "apci3010-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 4,
                .i_NbrAiChannelDiff     = 2,
                .i_AiChannelList        = 4,
@@ -200,7 +190,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_16] = {
                .pc_DriverName          = "apci3016-16",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -213,7 +202,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_8] = {
                .pc_DriverName          = "apci3016-8",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -226,7 +214,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_4] = {
                .pc_DriverName          = "apci3016-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 4,
                .i_NbrAiChannelDiff     = 2,
                .i_AiChannelList        = 4,
@@ -239,7 +226,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3100_16_4] = {
                .pc_DriverName          = "apci3100-16-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -252,7 +238,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3100_8_4] = {
                .pc_DriverName          = "apci3100-8-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -265,7 +250,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3106_16_4] = {
                .pc_DriverName          = "apci3106-16-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -278,7 +262,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3106_8_4] = {
                .pc_DriverName          = "apci3106-8-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -291,7 +274,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3110_16_4] = {
                .pc_DriverName          = "apci3110-16-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -306,7 +288,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3110_8_4] = {
                .pc_DriverName          = "apci3110-8-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -321,7 +302,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3116_16_4] = {
                .pc_DriverName          = "apci3116-16-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 16,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 16,
@@ -336,7 +316,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3116_8_4] = {
                .pc_DriverName          = "apci3116-8-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannel         = 8,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 8,
@@ -351,7 +330,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3003] = {
                .pc_DriverName          = "apci3003",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 4,
                .i_AiMaxdata            = 65535,
@@ -362,7 +340,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_16] = {
                .pc_DriverName          = "apci3002-16",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannelDiff     = 16,
                .i_AiChannelList        = 16,
                .i_AiMaxdata            = 65535,
@@ -373,7 +350,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_8] = {
                .pc_DriverName          = "apci3002-8",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannelDiff     = 8,
                .i_AiChannelList        = 8,
                .i_AiMaxdata            = 65535,
@@ -384,7 +360,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_4] = {
                .pc_DriverName          = "apci3002-4",
-               .i_IorangeBase1         = 256,
                .i_NbrAiChannelDiff     = 4,
                .i_AiChannelList        = 4,
                .i_AiMaxdata            = 65535,
@@ -395,7 +370,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3500] = {
                .pc_DriverName          = "apci3500",
-               .i_IorangeBase1         = 256,
                .i_NbrAoChannel         = 4,
                .i_AoMaxdata            = 4095,
                .i_NbrTTLChannel        = 24,