aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2024-08-29 19:48:40 +0000
committerGeert Uytterhoeven <[email protected]>2024-09-02 08:13:59 +0000
commit1325820dd085809645bdd89a2fd408a05b4a5492 (patch)
treefdb769ad90f2557c0f418158933480b563d70d09 /rust/helpers/task.c
parentpinctrl: renesas: rzg2l: Introduce single macro for digital noise filter conf... (diff)
downloadkernel-1325820dd085809645bdd89a2fd408a05b4a5492.tar.gz
kernel-1325820dd085809645bdd89a2fd408a05b4a5492.zip
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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions