pinctrl: sh-pfc: Remove obsolete SH_PFC_PIN_NAMED*() macros
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Mar 2019 12:53:35 +0000 (13:53 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Jun 2019 09:19:25 +0000 (11:19 +0200)
Now all Renesas pin control drivers have been converted to use the new
non-GPIO helper macros, SH_PFC_PIN_NAMED() and SH_PFC_PIN_NAMED_CFG()
are no longer used.  Remove them.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/pinctrl/sh-pfc/sh_pfc.h

index a379698..835148f 100644 (file)
@@ -667,22 +667,6 @@ extern const struct sh_pfc_soc_info shx3_pinmux_info;
                .configs = cfgs,                                        \
        }
 
-/* SH_PFC_PIN_NAMED - Expand to a sh_pfc_pin entry with the given name */
-#define SH_PFC_PIN_NAMED(row, col, _name)                              \
-       {                                                               \
-               .pin = PIN_NUMBER(row, col),                            \
-               .name = __stringify(PIN_##_name),                       \
-               .configs = SH_PFC_PIN_CFG_NO_GPIO,                      \
-       }
-
-/* SH_PFC_PIN_NAMED_CFG - Expand to a sh_pfc_pin entry with the given name */
-#define SH_PFC_PIN_NAMED_CFG(row, col, _name, cfgs)                    \
-       {                                                               \
-               .pin = PIN_NUMBER(row, col),                            \
-               .name = __stringify(PIN_##_name),                       \
-               .configs = SH_PFC_PIN_CFG_NO_GPIO | cfgs,               \
-       }
-
 /* PINMUX_DATA_ALL - Expand to a list of PORT_name_DATA, PORT_name_FN0,
  *                  PORT_name_OUT, PORT_name_IN marks
  */