]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: move checking .get_parent to __clk_core_init()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 Dec 2015 10:23:04 +0000 (19:23 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Feb 2016 19:52:06 +0000 (11:52 -0800)
commit3c8e77dd20ab733f855e66bb6197ce84eb33e480
tree0a9db5b0245c1230ec680cd1def0fbeb32676c48
parentc44fccb5f7b071d36cac3962799ba5a571429c28
clk: move checking .get_parent to __clk_core_init()

The .get_parent is mandatory for multi-parent clocks.  Move the check
to __clk_core_init(), like other callback checkings.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
[sboyd@codeaurora.org: Squashed in error path handling, fix typos
in commit message]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c