]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: renesas: Remove sh_pfc_config_mux_for_gpio()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Apr 2019 20:46:25 +0000 (22:46 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 4 May 2019 17:26:49 +0000 (19:26 +0200)
This function is now replaced by common pin controller GPIO configuration
functionality, drop it.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Cc: Eugeniu Rosca <roscaeugeniu@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick DELAUNAY <patrick.delaunay@st.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Simon Glass <sjg@chromium.org>
drivers/pinctrl/renesas/pfc.c
drivers/pinctrl/renesas/sh_pfc.h

index 52c486ebc284b427c31f908457ae3ee6d87c9b29..d1271dad44f41b66a03567a4d9e39052a6dcc3f2 100644 (file)
@@ -524,11 +524,6 @@ static int sh_pfc_gpio_disable_free(struct udevice *dev,
        return 0;
 }
 
-int sh_pfc_config_mux_for_gpio(struct udevice *dev, unsigned pin_selector)
-{
-       return sh_pfc_gpio_request_enable(dev, pin_selector);
-}
-
 static int sh_pfc_pinctrl_pin_set(struct udevice *dev, unsigned pin_selector,
                                  unsigned func_selector)
 {
index 09e11d31b30f81b9a11f10b48bef398cd03cd11b..6629e1f772e76f9c267edb77b6a7e5aaf32205cd 100644 (file)
@@ -275,7 +275,6 @@ void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data);
 const struct pinmux_bias_reg *
 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
                       unsigned int *bit);
-int sh_pfc_config_mux_for_gpio(struct udevice *dev, unsigned pin_selector);
 
 extern const struct sh_pfc_soc_info r8a7790_pinmux_info;
 extern const struct sh_pfc_soc_info r8a7791_pinmux_info;