]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/clk/clk.h
clk: Add of_clk_get_by_clkspec() helper
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 19 May 2014 17:22:50 +0000 (19:22 +0200)
committerMike Turquette <mturquette@linaro.org>
Thu, 22 May 2014 22:54:59 +0000 (15:54 -0700)
commit7f05e28f9dd3eb7a3f27c6f50b715995dc7a88c5
treeffde9347941f4ee8cfa9112e15bb9a8138bc3be8
parent222cb1bf180e413e1816aaf4166e4f56e72201d8
clk: Add of_clk_get_by_clkspec() helper

This patch adds of_clk_get_by_clkspec() helper function, which does only
a struct clk lookup from the clock providers. It is used in the subsequent
patch where parsing of a clock from device tree and the lookup from
providers needed to be split.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.h
drivers/clk/clkdev.c