lkml.org 
[lkml]   [2024]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] clk: constify the of_phandle_args argument of of_clk_provider
Date
> 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@linaro.org>

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

Regards,
Peng.

\
 
 \ /
  Last update: 2024-05-27 15:09    [W:1.076 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site