summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/renesas/pfc-r8a77951.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-r8a77951.c
parentpinctrl: renesas: r8a77990: Share more VIN pin group data (diff)
downloadlinux-b67fc1c66732ff08380ea8a4abb3d061ac097d35.tar.xz
linux-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-r8a77951.c')
-rw-r--r--drivers/pinctrl/renesas/pfc-r8a77951.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/renesas/pfc-r8a77951.c b/drivers/pinctrl/renesas/pfc-r8a77951.c
index bd6f83485e56..9d6eef4e9d18 100644
--- a/drivers/pinctrl/renesas/pfc-r8a77951.c
+++ b/drivers/pinctrl/renesas/pfc-r8a77951.c
@@ -5962,8 +5962,7 @@ static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = {
{ /* sentinel */ },
};
-static int r8a77951_pin_to_pocctrl(struct sh_pfc *pfc,
- unsigned int pin, u32 *pocctrl)
+static int r8a77951_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
{
int bit = -EINVAL;