pinctrl: renesas: Mark local variable with const in ->set_mux()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Dec 2023 15:56:32 +0000 (17:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Dec 2023 09:53:57 +0000 (10:53 +0100)
commit731b30f6aab7c45bb89372c3c05b711cee362b69
treecec4274f3011c6a8d3f8b86424f505ff4ce0eb89
parent253bad7f0436284ee0413b1c615a1d4be96893de
pinctrl: renesas: Mark local variable with const in ->set_mux()

We are not going to change pins in the ->set_mux() callback. Mark
the local variable with a const qualifier. While at it, make it
also unsigned.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231204160033.1872569-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/renesas/pinctrl-rzg2l.c
drivers/pinctrl/renesas/pinctrl-rzv2m.c