From f6993959e8123185a96d98b216d6f40da131a92d Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 29 Nov 2018 12:04:14 -0600 Subject: Remove unused lora H MTAC gpio pin structure from mts-io module --- io-module/mtcdt.c | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c index a7cef5e..318eb7f 100644 --- a/io-module/mtcdt.c +++ b/io-module/mtcdt.c @@ -351,50 +351,6 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { { }, }; -// LORA H or 1.5, AP1 -static struct gpio_pin lora_h[3 /* Port */][3 /* Pin */] = { - { // port 1 of 2 - { // gpio 1 for LORA H - .name = "AP1_CDONE", - .pin = { - .gpio = AT91_PIN_PC6, - .flags = GPIOF_IN, - .label = "ap1-cdone", - }, - }, - { // gpio 2 for LORA H - .name = "AP1_CRESET", - .pin = { - .gpio = AT91_PIN_PC7, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "ap1-creset", - } - }, - { }, - }, // End of port 1 -// LORA H or 1.5, AP2 - { // Port 2 of 2 - { // gpio 1 for LORA H - .name = "AP2_CDONE", - .pin = { - .gpio = AT91_PIN_PC20, - .flags = GPIOF_IN, - .label = "ap2-cdone", - }, - }, - { // gpio 2 for LORA H - .name = "AP2_CRESET", - .pin = { - .gpio = AT91_PIN_PC21, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "ap2-creset", - } - }, - { }, - }, // End of port 2 - { }, -}; - static DEVICE_ATTR_MTS(dev_attr_wifi_bt_lpwkup, "wifi-bt-lpwkup", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); static DEVICE_ATTR_MTS(dev_attr_wifi_bt_ulpwkup, "wifi-bt-ulpwkup", -- cgit v1.2.3