diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-02-06 00:39:11 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-03-12 20:20:34 +0100 |
commit | 306c342f9cb1f573af57a6afd1b3549aa97b9281 (patch) | |
tree | 12b6028e71456ca59e0f2632c38b27e1e085c2c4 /drivers/clk/qcom | |
parent | clk: Rename child_node to clks_node to avoid confusion (diff) | |
download | linux-306c342f9cb1f573af57a6afd1b3549aa97b9281.tar.xz linux-306c342f9cb1f573af57a6afd1b3549aa97b9281.zip |
clk: Replace of_clk_get_by_clkspec() with of_clk_get_from_provider()
of_clk_get_by_clkspec() has the same function signature as
of_clk_get_from_provider()
struct clk *of_clk_get_by_clkspec(struct of_phandle_args
*clkspec)
struct clk *of_clk_get_from_provider(struct of_phandle_args
*clkspec)
except of_clk_get_by_clkspec() checks to make sure clkspec is not
NULL. Let's remove of_clk_get_by_clkspec() and replace the
callers of it (clkconf.c) with of_clk_get_from_provider().
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom')
0 files changed, 0 insertions, 0 deletions