Browse Source

mx35 iomux: Remove unused macro

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Benoît Thébaudeau 12 years ago
parent
commit
e23ee5674a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/arm/cpu/arm1136/mx35/iomux.c

+ 0 - 2
arch/arm/cpu/arm1136/mx35/iomux.c

@@ -44,8 +44,6 @@ enum iomux_reg_addr {
 #define MUX_INPUT_NUM_MUX	\
 		(((IOMUXSW_INPUT_END - IOMUXSW_INPUT_CTL) >> 2) + 1)
 
-#define PIN_TO_IOMUX_INDEX(pin) ((PIN_TO_IOMUX_PAD(pin) - 0x328) >> 2)
-
 /*
  * Request ownership for an IO pin. This function has to be the first one
  * being called before that pin is used.