diff options
author | John Klug <john.klug@multitech.com> | 2018-11-29 12:04:14 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-11-29 12:04:14 -0600 |
commit | f6993959e8123185a96d98b216d6f40da131a92d (patch) | |
tree | 038334a82133f2d50f17268a3aba24ee8e400b97 /io-module | |
parent | ccc7738ae4f4db3c6ff0903858542ead7fd75207 (diff) | |
download | mts-io-f6993959e8123185a96d98b216d6f40da131a92d.tar.gz mts-io-f6993959e8123185a96d98b216d6f40da131a92d.tar.bz2 mts-io-f6993959e8123185a96d98b216d6f40da131a92d.zip |
Remove unused lora H MTAC gpio pin structure from mts-io module
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mtcdt.c | 44 |
1 files changed, 0 insertions, 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", |