1
linux/drivers/pinctrl/renesas
Lad Prabhakar 1325820dd0 pinctrl: renesas: rzg2l: Move pinconf_to_config_argument() call outside of switch cases
Refactor the `rzg2l_pinctrl_pinconf_set()` function by moving the call to
`arg = pinconf_to_config_argument(_configs[i])` to the beginning of the
loop. Previously, this call was redundantly made in most cases within the
switch statement.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240829194841.84398-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2024-09-02 10:13:59 +02:00
..
core.c pinctrl: renesas: Allow the compiler to optimize away sh_pfc_pm 2024-02-21 16:34:33 +01:00
core.h
gpio.c
Kconfig pinctrl: renesas: rzg2l: Select GPIOLIB_IRQCHIP and IRQ_DOMAIN_HIERARCHY 2024-02-21 16:34:32 +01:00
Makefile pinctrl: renesas: Initial R8A779H0 (R-Car V4M) PFC support 2024-02-20 11:43:48 +01:00
pfc-emev2.c
pfc-r8a73a4.c
pfc-r8a779a0.c
pfc-r8a779f0.c
pfc-r8a779g0.c pinctrl: renesas: r8a779g0: Add INTC-EX pins, groups, and function 2024-07-01 11:27:39 +02:00
pfc-r8a779h0.c pinctrl: renesas: r8a779h0: Remove unneeded separators 2024-07-01 11:27:39 +02:00
pfc-r8a7740.c
pfc-r8a7778.c
pfc-r8a7779.c
pfc-r8a7790.c
pfc-r8a7791.c
pfc-r8a7792.c
pfc-r8a7794.c
pfc-r8a7796.c
pfc-r8a77470.c
pfc-r8a77951.c
pfc-r8a77965.c
pfc-r8a77970.c
pfc-r8a77980.c
pfc-r8a77990.c
pfc-r8a77995.c
pfc-sh73a0.c pinctrl: renesas: sh73a0: Use rdev_get_drvdata() 2024-07-01 11:27:38 +02:00
pfc-sh7203.c
pfc-sh7264.c
pfc-sh7269.c
pfc-sh7720.c
pfc-sh7722.c
pfc-sh7723.c
pfc-sh7724.c
pfc-sh7734.c
pfc-sh7757.c
pfc-sh7785.c
pfc-sh7786.c
pfc-shx3.c
pinctrl-rza1.c pinctrl: renesas: Use scope based of_node_put() cleanups 2024-05-28 09:29:22 +02:00
pinctrl-rza2.c
pinctrl-rzg2l.c pinctrl: renesas: rzg2l: Move pinconf_to_config_argument() call outside of switch cases 2024-09-02 10:13:59 +02:00
pinctrl-rzn1.c pinctrl: renesas: rzn1: Use for_each_child_of_node_scoped() 2024-06-07 14:12:10 +02:00
pinctrl-rzv2m.c pinctrl: renesas: Switch to use kmemdup_array() 2024-08-23 15:46:17 +02:00
pinctrl.c pinctrl: renesas: Switch to use kmemdup_array() 2024-08-23 15:46:17 +02:00
sh_pfc.h pinctrl: renesas: Initial R8A779H0 (R-Car V4M) PFC support 2024-02-20 11:43:48 +01:00