]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/i2c/twl4030.h
twl4030-gpio: irq and other cleanup
[linux-2.6-omap-h63xx.git] / include / linux / i2c / twl4030.h
index f26fda1af0a03d5a0f9d88f08d65d5705e5c7fa3..56a941587c43f7d87b9538f025d71513488bdb2e 100644 (file)
@@ -138,17 +138,11 @@ struct twl4030_platform_data {
 
 /* TWL4030 GPIO interrupt definitions */
 
-#define TWL4030_GPIO_MIN               0
 #define TWL4030_GPIO_MAX               18
-#define TWL4030_GPIO_MAX_CD            2
 #define TWL4030_GPIO_IRQ_NO(n)         (TWL4030_GPIO_IRQ_BASE + (n))
-#define TWL4030_GPIO_IS_INPUT          1
-#define TWL4030_GPIO_IS_OUTPUT         0
 #define TWL4030_GPIO_IS_ENABLE         1
-#define TWL4030_GPIO_IS_DISABLE                0
 #define TWL4030_GPIO_PULL_UP           0
 #define TWL4030_GPIO_PULL_DOWN         1
-#define TWL4030_GPIO_PULL_NONE         2
 
 /* Functions to read and write from TWL4030 */