From 7002483c7b28a808d2bd4366b00c48911688c768 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Wed, 21 May 2014 13:23:00 +0200 Subject: [PATCH] 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-format-patch failed