[U-Boot] [PATCH v2 05/13] clk: Use clk_get_by_index_tail()

Simon Glass sjg at chromium.org
Thu Feb 21 02:47:33 UTC 2019


Hi Jagan,

On Sun, 10 Feb 2019 at 23:05, Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> clk_get_by_index_tail() now handle common clk get by index
> code so use it in relevant places.
>
> Cc: Stephen Warren <swarren at nvidia.com>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  drivers/clk/clk-uclass.c | 77 +++++++++++++---------------------------
>  1 file changed, 25 insertions(+), 52 deletions(-)
>

BTW you could keep clk_get_by_indexed_prop() and make it call those
two functions I think.

Regards,
Simon


More information about the U-Boot mailing list