diff options
| author | Marek Vasut <[email protected]> | 2019-04-21 22:46:25 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2019-05-04 19:26:49 +0200 |
| commit | 5403bec1cb530f8c4aa97a1cd7f9f860716c8c1f (patch) | |
| tree | 388337937897e9a9905f6c92dd05503878856ea1 | |
| parent | fbf26bea3964735604f1621288a63b23daf48cea (diff) | |
pinctrl: renesas: Remove sh_pfc_config_mux_for_gpio()
This function is now replaced by common pin controller GPIO configuration
functionality, drop it.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Alex Kiernan <[email protected]>
Cc: Christoph Muellner <[email protected]>
Cc: Eugeniu Rosca <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick DELAUNAY <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Simon Glass <[email protected]>
| -rw-r--r-- | drivers/pinctrl/renesas/pfc.c | 5 | ||||
| -rw-r--r-- | drivers/pinctrl/renesas/sh_pfc.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index 52c486ebc28..d1271dad44f 100644 --- a/drivers/pinctrl/renesas/pfc.c +++ b/drivers/pinctrl/renesas/pfc.c @@ -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) { diff --git a/drivers/pinctrl/renesas/sh_pfc.h b/drivers/pinctrl/renesas/sh_pfc.h index 09e11d31b30..6629e1f772e 100644 --- a/drivers/pinctrl/renesas/sh_pfc.h +++ b/drivers/pinctrl/renesas/sh_pfc.h @@ -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; |
