From: Krzysztof Kozlowski Date: Wed, 21 May 2014 11:23:00 +0000 (+0200) Subject: clk: s2mps11: Remove useless check for clk_table X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7002483c7b28a808d2bd4366b00c48911688c768;p=pandora-kernel.git clk: s2mps11: Remove useless check for clk_table There is no need for checking if 'clk_table' is not NULL twice (first after allocation and second at the end of probe()). Also move allocation of this 'clk_table' to probe from s2mps11_clk_parse_dt as this is logical place for it. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mike Turquette --- Reading git-diff-tree failed