clk: Use clk_get_by_index_tail()
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 27 Feb 2019 18:56:53 +0000 (00:26 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 8 May 2019 19:14:13 +0000 (00:44 +0530)
commitdcb63fcd16c579378e68ab34849b47dda45f41b2
tree2443a6a4bfdef0c18152b6aa8e423ca19b8f9ba9
parent75f98314f92f64fd3526464006d934d4fe9b2710
clk: Use clk_get_by_index_tail()

clk_get_by_index_tail() now handle common clk get by index
code so use it from clk_get_by_indexed_prop().

Cc: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/clk/clk-uclass.c