[PATCH] phy: constify of_phandle_args in xlate

Linus Walleij linus.walleij at linaro.org
Wed Feb 21 14:07:11 PST 2024


On Sat, Feb 17, 2024 at 10:39 AM Krzysztof Kozlowski
<krzysztof.kozlowski at linaro.org> wrote:

> The xlate callbacks are supposed to translate of_phandle_args to proper
> provider without modifying the of_phandle_args.  Make the argument
> pointer to const for code safety and readability.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
(...)
>  drivers/pinctrl/tegra/pinctrl-tegra-xusb.c         |  2 +-

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-amlogic mailing list