Re: [PATCH 06/11] clk: qcom: mmcc-msm8974: use ARRAY_SIZE instead of specifying num_parents

Neil Armstrong
2022-09-28T15:25:59Z

On 28/09/2022 16:59, Dmitry Baryshkov wrote:
> Use ARRAY_SIZE() instead of manually specifying num_parents. This makes
> adding/removing entries to/from parent_data easy and errorproof.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> drivers/clk/qcom/mmcc-msm8974.c | 74 ++++++++++++++++-----------------
> 1 file changed, 37 insertions(+), 37 deletions(-)
>

<snip>

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>