From a9407f2bc51ed118c47a2e60396466bba78c57a6 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Tue, 10 Apr 2012 04:25:57 +0000 Subject: imx: Remove unneeded/repititive definitions from imx headers Remove gpio related unused/repititive definitions from imx headers. Signed-off-by: Vikram Narayanan Acked-by: Stefano Babic --- arch/arm/include/asm/arch-mx6/imx-regs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/arm/include/asm/arch-mx6') diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 1033d05..6d25c8d 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -170,8 +170,6 @@ #define FEC_QUIRK_ENET_MAC #define GPIO_NUMBER(port, index) ((((port)-1)*32)+((index)&31)) -#define GPIO_TO_PORT(number) (((number)/32)+1) -#define GPIO_TO_INDEX(number) ((number)&31) #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) #include -- cgit v1.1