clk: abstract parent cache
authorJames Hogan <james.hogan@imgtec.com>
Mon, 29 Jul 2013 11:24:58 +0000 (12:24 +0100)
committer黄涛 <huangtao@rock-chips.com>
Wed, 8 Jan 2014 03:03:06 +0000 (11:03 +0800)
commit13cf1519d6d3564648da435991387c1ca0a21d1d
tree613c954543ab45e6c7fe08fbb6a08d851d939d21
parent6dff155aa6de5e00ebca8fbe42c569951ee0a176
clk: abstract parent cache

Abstract access to the clock parent cache by defining
clk_get_parent_by_index(clk, index). This allows access to parent
clocks from clock drivers.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-provider.h