OSDN Git Service

clk: s2mps11: Simplify s2mps11_clk_probe unwind paths
authorAxel Lin <axel.lin@ingics.com>
Thu, 16 Jul 2015 13:59:43 +0000 (21:59 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:58:46 +0000 (11:58 -0700)
commit264e3b75de4eee6e4ee4616bf2b2a3d522cad72a
tree76b68596282ceaa7f153569bc3939d66b5a6b12e
parent5a1cfafaeab5237523d43cd033e1fb42bf5c1933
clk: s2mps11: Simplify s2mps11_clk_probe unwind paths

The devm_clk_unregister() in .probe error case is not necessary as it will
be automatically called when probe fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-s2mps11.c