]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: clk: Remove simple version of clk_get_by_index/name()
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Jul 2016 11:11:37 +0000 (13:11 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 22 Jul 2016 12:05:50 +0000 (14:05 +0200)
commit9e0758b7ff399d39cc62f24ab1c790485030834f
tree5788123d77cc6573a25500d8bb949812f05bde6b
parent23ffd36a5295354af2dee22c00b08addd9c8a2ed
dm: clk: Remove simple version of clk_get_by_index/name()

Simple version of clk_get_by_index() added by:
"dm: clk: Add a simple version of clk_get_by_index()"
(sha1: a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44)
is only working for #clock-cells=<1> but not for
any other values. Fixed clocks is using #clock-cells=<0>
which requires full implementation.

Remove simplified versions of clk_get_by_index() and use full version.
Also remove empty clk_get_by_name() which is failing when it is called
which is useless.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
drivers/clk/clk-uclass.c