summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/renesas/pfc-r8a7790.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-12-23 15:56:17 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-02-22 09:57:18 +0100
commitb67fc1c66732ff08380ea8a4abb3d061ac097d35 (patch)
treee64f3816d9b5759d4bf70b75c99491b13adcdcef /drivers/pinctrl/renesas/pfc-r8a7790.c
parent53565413604d1203e7944ef196510243a60bb491 (diff)
downloadlwn-b67fc1c66732ff08380ea8a4abb3d061ac097d35.tar.gz
lwn-b67fc1c66732ff08380ea8a4abb3d061ac097d35.zip
pinctrl: renesas: Remove unused pfc parameter from .pin_to_pocctrl()
The pfc parameter of the .pin_to_pocctrl() method was never used. It is a relic of the old I/O voltage handling before commit 8775306dcf48092f ("pinctrl: sh-pfc: refactor voltage setting"). Remove the parameter, as it prevents the checker from calling this function for validating consistency of the pin control tables. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/822133086f32618c7fc920123c6a96f5d4ea7ad6.1640270559.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/pinctrl/renesas/pfc-r8a7790.c')
-rw-r--r--drivers/pinctrl/renesas/pfc-r8a7790.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/renesas/pfc-r8a7790.c b/drivers/pinctrl/renesas/pfc-r8a7790.c
index ebfd883484a0..9db9e61d96bc 100644
--- a/drivers/pinctrl/renesas/pfc-r8a7790.c
+++ b/drivers/pinctrl/renesas/pfc-r8a7790.c
@@ -5873,7 +5873,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
{ },
};
-static int r8a7790_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl)
+static int r8a7790_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
{
if (pin < RCAR_GP_PIN(3, 0) || pin > RCAR_GP_PIN(3, 31))
return -EINVAL;