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)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 06:18:00 +0000 (15:18 +0900)
commit39730d50d876e20bcd3e4214da5ac401d9cc6b81
tree582436bdda1b28d059b456c637fd0ce738618c31
parent9a5a07c741b00481a48fa10559755e2f007e9d81
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.

Change-Id: I3c8fddfc7716381e63b9731b27a988c1a3e6a733
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