]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3909c79580393de9626ecaa255a9c8c16a45019a
tree76b68596282ceaa7f153569bc3939d66b5a6b12e
parenta21131b8d663f10f0eaed82227fe85e2b1a50997
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