Re: [PATCH] phy: constify of_phandle_args in xlate

From: Linus Walleij
Date: Wed Feb 21 2024 - 17:07:32 EST


On Sat, Feb 17, 2024 at 10:39 AM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> 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@xxxxxxxxxx>
(...)
> drivers/pinctrl/tegra/pinctrl-tegra-xusb.c | 2 +-

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij