Re: [PATCH] phy: constify of_phandle_args in xlate

2024-02-23 Thread Vinod Koul
On Sat, 17 Feb 2024 10:39:37 +0100, Krzysztof Kozlowski 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. > > Applied, thanks! [1/1] phy: con

Re: [PATCH] phy: constify of_phandle_args in xlate

2024-02-21 Thread Florian Fainelli
On 2/17/24 01:39, Krzysztof Kozlowski 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 Acked-by: Florian Fainel

Re: [PATCH] phy: constify of_phandle_args in xlate

2024-02-21 Thread Linus Walleij
On Sat, Feb 17, 2024 at 10:39 AM Krzysztof Kozlowski 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 (.

Re: [PATCH] phy: constify of_phandle_args in xlate

2024-02-19 Thread Thierry Reding
On Sat Feb 17, 2024 at 10:39 AM CET, Krzysztof Kozlowski 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

[PATCH] phy: constify of_phandle_args in xlate

2024-02-17 Thread Krzysztof Kozlowski
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 --- drivers/phy/allwinner/phy-sun4i-usb.c | 2 +- drivers/