diff options
-rw-r--r-- | include/gpio.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/gpio.h b/include/gpio.h index 8c7e420cd9..6e134c28fe 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -49,11 +49,6 @@ /* Convert GPIO mask to GPIO number / index. */ #define GPIO_MASK_TO_NUM(mask) (__fls(mask)) -/* Convert a GPIO to a port + mask pair */ -#define GPIO_TO_PORT_MASK_PAIR(gpio) \ - { gpio_list[(gpio)].port, \ - GPIO_MASK_TO_NUM(gpio_list[(gpio)].mask) } - /* NOTE: This is normally included from board.h, thru config.h and common.h But, * some boards and unit tests don't have a gpio_signal enum defined, so we * define an emtpy one here.*/ |