aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2007-11-26 18:50:42 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 14:37:31 +0000
commit6331acd78f7916db16ec20b50d7838bd4944cd27 (patch)
treead803b2054ad21333cb013763c9bc6e022b88adc /include
parent[ARM] 4670/1: ep93xx: implement IRQT_BOTHEDGE gpio irq sense type (diff)
downloadlinux-dev-6331acd78f7916db16ec20b50d7838bd4944cd27.tar.xz
linux-dev-6331acd78f7916db16ec20b50d7838bd4944cd27.zip
[ARM] 4671/1: ep93xx: remove obsolete gpio_line_* operations
With the new GPIO methods in place the old gpio_line_* methods are redundant, so this patch finally removes the old legacy gpio_line_* wrappers. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-ep93xx/gpio.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/asm-arm/arch-ep93xx/gpio.h b/include/asm-arm/arch-ep93xx/gpio.h
index cebb64be7e4b..9b1864bbd9a8 100644
--- a/include/asm-arm/arch-ep93xx/gpio.h
+++ b/include/asm-arm/arch-ep93xx/gpio.h
@@ -138,23 +138,4 @@ static inline int irq_to_gpio(unsigned irq)
return irq - gpio_to_irq(0);
}
-/* obsolete specific GPIO API */
-#define GPIO_IN 0
-#define GPIO_OUT 1
-
-#define EP93XX_GPIO_LOW 0
-#define EP93XX_GPIO_HIGH 1
-
-void __deprecated gpio_line_config(int line, int direction);
-
-static inline int __deprecated gpio_line_get(int line)
-{
- return gpio_get_value(line);
-}
-
-static inline void __deprecated gpio_line_set(int line, int value)
-{
- gpio_set_value(line, value);
-}
-
#endif