summaryrefslogtreecommitdiff
path: root/io-module/mtr2d2.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mtr2d2.c')
-rw-r--r--io-module/mtr2d2.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/io-module/mtr2d2.c b/io-module/mtr2d2.c
index 428d71c..7e44881 100644
--- a/io-module/mtr2d2.c
+++ b/io-module/mtr2d2.c
@@ -265,9 +265,6 @@ static struct gpio_pin gpio_pins_mtr2d2_0_0[] = {
{ },
};
-static int mtr2d2_platform_attributes_max_size = 64; // including NULL at end
-static int mtr2d2_platform_attributes_size = 21;
-
static struct attribute *mtr2d2_platform_attributes[] = {
&dev_attr_vendor_id.attr,
&dev_attr_product_id.attr,
@@ -291,52 +288,6 @@ static struct attribute *mtr2d2_platform_attributes[] = {
&dev_attr_led_c_gpio.attr,
&dev_attr_led_d_gpio.attr,
&dev_attr_led_e_gpio.attr,
-
- /* extra space for the accessory card attributes */
- NULL, // index 20
- NULL, // index 21
- NULL, // index 22
- NULL, // index 23
- NULL, // index 24
- NULL, // index 25
- NULL, // index 26
- NULL, // index 27
- NULL, // index 28
- NULL, // index 29
- NULL, // index 30
- NULL, // index 31
- NULL, // index 32
- NULL, // index 33
- NULL, // index 34
- NULL, // index 35
- NULL, // index 36
- NULL, // index 37
- NULL, // index 38
- NULL, // index 39
- NULL, // index 40
- NULL, // index 41
- NULL, // index 42
- NULL, // index 43
- NULL, // index 44
- NULL, // index 45
- NULL, // index 46
- NULL, // index 47
- NULL, // index 48
- NULL, // index 49
- NULL, // index 50
- NULL, // index 51
- NULL, // index 52
- NULL, // index 53
- NULL, // index 54
- NULL, // index 55
- NULL, // index 56
- NULL, // index 57
- NULL, // index 58
- NULL, // index 59
- NULL, // index 60
- NULL, // index 61
- NULL, // index 62
- NULL, // index 63
NULL,
};