[PATCH] clk: constify the of_phandle_args argument of of_clk_provider

Peng Fan peng.fan at nxp.com
Sun Feb 18 17:03:29 PST 2024


> Subject: [PATCH] clk: constify the of_phandle_args argument of
> of_clk_provider
> 
> None of the implementations of the get() and get_hw() callbacks of "struct
> of_clk_provider" modify the contents of received of_phandle_args pointer.
> They treat it as read-only variable used to find the clock to return.  Make
> obvious that implementations are not supposed to modify the
> of_phandle_args, by making it a pointer to const.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

For i.MX:
Acked-by: Peng Fan <peng.fan at nxp.com>

Regards,
Peng.



More information about the linux-amlogic mailing list