summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/renesas/pfc-r8a77965.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-r8a77965.c
parent53565413604d1203e7944ef196510243a60bb491 (diff)
downloadlinux-b67fc1c66732ff08380ea8a4abb3d061ac097d35.tar.bz2
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-r8a77965.c')
-rw-r--r--drivers/pinctrl/renesas/pfc-r8a77965.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/renesas/pfc-r8a77965.c b/drivers/pinctrl/renesas/pfc-r8a77965.c
index 75e7b02337b2..6bb7f7543c37 100644
--- a/drivers/pinctrl/renesas/pfc-r8a77965.c
+++ b/drivers/pinctrl/renesas/pfc-r8a77965.c
@@ -6154,8 +6154,7 @@ static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = {
{ /* sentinel */ },
};
-static int r8a77965_pin_to_pocctrl(struct sh_pfc *pfc,
- unsigned int pin, u32 *pocctrl)
+static int r8a77965_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
{
int bit = -EINVAL;