Re: [PATCH v7 02/14] clk: fixed-factor: add fwname-based constructor functions

From: Stephen Boyd
Date: Thu Feb 22 2024 - 01:13:27 EST


Quoting Théo Lebrun (2024-02-21 10:22:10)
> Add four functions to register clk_hw based on the fw_name field in
> clk_parent_data, ie the value in the DT property `clock-names`.
>
> There are variants for devm or not and passing an accuracy or not
> passing one:
>
> - clk_hw_register_fixed_factor_fwname
> - clk_hw_register_fixed_factor_with_accuracy_fwname
> - devm_clk_hw_register_fixed_factor_fwname
> - devm_clk_hw_register_fixed_factor_with_accuracy_fwname
>
> The `struct clk_parent_data` init is extracted from
> __clk_hw_register_fixed_factor to each calling function. It is required
> to allow each function to pass whatever field they want, not only index.
>
> Signed-off-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx>
> ---

Applied to clk-next

Hopefully these are all going to be used.