[PATCH v3 09/15] pinctrl: constify pinmux_generic_get_function()

Andy Shevchenko andy.shevchenko at gmail.com
Thu Jul 24 04:14:32 PDT 2025


On Thu, Jul 24, 2025 at 11:25 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> With all users of struct function_desc limited to only accessing it using
> the dedicated function and never modifying it, we can now constify the
> return value of pinmux_generic_get_function() treewide.

I like this change.
Reviewed-by: Andy Shevchenko <andy at kernel.org>

-- 
With Best Regards,
Andy Shevchenko



More information about the Linux-mediatek mailing list