[PATCH] phy: constify of_phandle_args in xlate

Florian Fainelli f.fainelli at gmail.com
Wed Feb 21 14:12:45 PST 2024


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 <krzysztof.kozlowski at linaro.org>

Acked-by: Florian Fainelli <florian.fainelli at broadcom.com> #Broadcom
-- 
Florian




More information about the Linux-mediatek mailing list