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 pinctrl: renesas: Move R-Car bias helpers to sh_pfc.h 2021-03-24 10:38:29 +01:00
gpio.c treewide: rename pinctrl_gpio_direction_output_new() 2023-11-04 10:23:22 +01:00
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 pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a73a4.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a779a0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a779f0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
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 pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7778.c pinctrl: renesas: r8a7778: Add LBSC pins, groups, and functions 2023-10-13 09:38:04 +02:00
pfc-r8a7779.c pinctrl: renesas: r8a7779: s/LSBC/LBSC/ 2023-09-11 13:24:39 +02:00
pfc-r8a7790.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7791.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7792.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7794.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7796.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77470.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77951.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77965.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77970.c pinctrl: renesas: Fix spaces followed by tabs 2023-05-09 11:51:33 +02:00
pfc-r8a77980.c pinctrl: renesas: Fix spaces followed by tabs 2023-05-09 11:51:33 +02:00
pfc-r8a77990.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77995.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh73a0.c pinctrl: renesas: sh73a0: Use rdev_get_drvdata() 2024-07-01 11:27:38 +02:00
pfc-sh7203.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7264.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7269.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7720.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7722.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7723.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7724.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7734.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7757.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7785.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7786.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-shx3.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pinctrl-rza1.c pinctrl: renesas: Use scope based of_node_put() cleanups 2024-05-28 09:29:22 +02:00
pinctrl-rza2.c pinctrl: renesas: Convert to use grp member 2023-12-12 00:47:52 +01:00
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