sh-pfc: Remove unused macro and enum entries
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 14 Jul 2013 17:59:50 +0000 (19:59 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Jul 2013 13:17:39 +0000 (15:17 +0200)
The SH_PFC_MARK_INVALID macro and the PINMUX_FLAG_TYPE, GPIO_CFG_REQ and
GPIO_CFG_FREE enum entries are used, remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
drivers/pinctrl/sh-pfc/sh_pfc.h

index 0e3e00fa7639945d1829f03c5dc094ba6e2581fd..d0a8ff8d12013c9a0643c324e2867e157a5392c4 100644 (file)
 
 typedef unsigned short pinmux_enum_t;
 
-#define SH_PFC_MARK_INVALID    ((pinmux_enum_t)-1)
-
 enum {
        PINMUX_TYPE_NONE,
-
        PINMUX_TYPE_FUNCTION,
        PINMUX_TYPE_GPIO,
        PINMUX_TYPE_OUTPUT,
        PINMUX_TYPE_INPUT,
-
-       PINMUX_FLAG_TYPE,       /* must be last */
 };
 
 #define SH_PFC_PIN_CFG_INPUT           (1 << 0)
@@ -166,8 +161,6 @@ struct sh_pfc_soc_info {
        unsigned long unlock_reg;
 };
 
-enum { GPIO_CFG_REQ, GPIO_CFG_FREE };
-
 /* helper macro for port */
 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx)