RE: [PATCH] clk: constify the of_phandle_args argument of of_clk_provider

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxx>

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

Regards,
Peng.




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux