diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2023-12-07 10:06:52 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-12-13 21:37:57 +0300 |
commit | 906b545b16594e45f2d3433028dcf649d2c05ebb (patch) | |
tree | 4bf61ec980a56f75d6705073b21543137186b8ce /drivers/pinctrl/pinctrl-tb10x.c | |
parent | dc99d4c8ac46bf533b9519a53795c4cd6ff0fa39 (diff) | |
download | linux-906b545b16594e45f2d3433028dcf649d2c05ebb.tar.xz |
pinctrl: renesas: rzg2l: Move arg and index in the main function block
Move arg and index in the main block of the function as they are used by
more than one case block of switch-case (3 out of 4 for arg, 2 out of 4
for index). In this way some lines of code are removed.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231207070700.4156557-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tb10x.c')
0 files changed, 0 insertions, 0 deletions