diff options
author | Andrew F. Davis <afd@ti.com> | 2018-08-31 14:13:25 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-20 08:36:14 -0700 |
commit | c36219d9d8df11641d28c6bd0698459485b1709b (patch) | |
tree | 452edcfb37d1a6b7e74b02e40b46c865c1eee709 /include/linux/platform_data | |
parent | c809e37a3b5a889063ae737ff8b54705219d1ddc (diff) | |
download | lwn-c36219d9d8df11641d28c6bd0698459485b1709b.tar.gz lwn-c36219d9d8df11641d28c6bd0698459485b1709b.zip |
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/gpio-davinci.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/platform_data/gpio-davinci.h b/include/linux/platform_data/gpio-davinci.h index b8e4957e7568..47695b342883 100644 --- a/include/linux/platform_data/gpio-davinci.h +++ b/include/linux/platform_data/gpio-davinci.h @@ -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)) |