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

Stephen Boyd
2024-02-22T06:13:19Z

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@bootlin.com>
> ---

Applied to clk-next

Hopefully these are all going to be used.