gpio: davinci: Remove unneeded GPIO macro
This macro does nothing and has only one user, remove it. Signed-off-by: Andrew F. Davis <afd@ti.com> Tested-by: Keerthy <j-keerthy@ti.com> Acked-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:

committed by
Linus Walleij

parent
c809e37a3b
commit
c36219d9d8
@@ -45,11 +45,6 @@ struct davinci_gpio_controller {
|
||||
int irqs[MAX_INT_PER_BANK];
|
||||
};
|
||||
|
||||
/*
|
||||
* basic gpio routines
|
||||
*/
|
||||
#define GPIO(X) (X) /* 0 <= X <= (DAVINCI_N_GPIO - 1) */
|
||||
|
||||
/* Convert GPIO signal to GPIO pin number */
|
||||
#define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio))
|
||||
|
||||
|
Reference in New Issue
Block a user