Re: [PATCH v1 2/2] clk: qcom: sc7280: Update clk_init_data to const for clock controllers

From: Stephen Boyd
Date: Fri Feb 04 2022 - 21:48:33 EST


Quoting Dmitry Baryshkov (2022-02-02 14:34:11)
> On Wed, 2 Feb 2022 at 21:23, Taniya Das <tdas@xxxxxxxxxxxxxx> wrote:
> >
> > Update clk_init_data to const and also use index instead of fw_name for
> > graphics, lpasscc and video clock controller.
>
> What is the benefit from using indices here? In my opinion the code
> becomes more fragile with such a change.

The benefit is smaller code size. Please run scripts/bloat-o-meter