clk: s2mps11: Remove useless check for clk_table
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 21 May 2014 11:23:00 +0000 (13:23 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 23 May 2014 22:44:03 +0000 (15:44 -0700)
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 <k.kozlowski@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-s2mps11.c

Simple merge