From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 15 Jul 2016 09:43:00 -0600 Subject: [U-Boot] [PATCH v2] dm: clk: Remove simple version of clk_get_by_index/name() In-Reply-To: <393b7245b103f04cf6f78c80a69cbbf598819ca9.1468566127.git.michal.simek@xilinx.com> References: <393b7245b103f04cf6f78c80a69cbbf598819ca9.1468566127.git.michal.simek@xilinx.com> Message-ID: <57890484.60503@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/15/2016 01:02 AM, Michal Simek wrote: > 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. This seems reasonable to me, Acked-by: Stephen Warren