Re: [PATCH] clk: change the type of clk_hw_onecell_data.num to unsigned int

From: Stephen Boyd
Date: Fri Sep 23 2016 - 17:44:26 EST


On 09/23, Masahiro Yamada wrote:
> The "num" is the number of clk_hw entries in the structure, so
> "unsigned int" would be a better fit. (size_t looks like data
> size we count by byte.)
>
> Besides, struct clk_onecell_data already uses unsigned int for
> "clk_num".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---

Seems fair.

Applied to clk-next

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project