]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: core: Make pins const unsigned int pointer in struct group_desc
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Dec 2023 15:56:33 +0000 (17:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Dec 2023 09:53:57 +0000 (10:53 +0100)
commitd98d73855f48e9f97f8f08d2376fb925ffc58c3f
treee41f017961409bbd08ebf2cb5220427ad47b9593
parent731b30f6aab7c45bb89372c3c05b711cee362b69
pinctrl: core: Make pins const unsigned int pointer in struct group_desc

It's unclear why it's not a const unsigned int pointer from day 1.
Make the pins member const unsigned int pointer in struct group_desc.
Update necessary APIs.

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