aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2024-08-29 20:48:40 +0100
committerGeert Uytterhoeven <[email protected]>2024-09-02 10:13:59 +0200
commit1325820dd085809645bdd89a2fd408a05b4a5492 (patch)
treefdb769ad90f2557c0f418158933480b563d70d09 /tools/testing/selftests/bpf/progs/test_autoload.c
parentbefcded23454825ca2cc4c24626b68c75fcb1528 (diff)
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions