clk: s2mps11: Add missing of_node_put and of_clk_del_provider
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 21 May 2014 11:22:59 +0000 (13:22 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 23 May 2014 22:44:02 +0000 (15:44 -0700)
commitbf416bd457389bfe7371ba9074bcbd032d7a04cc
tree14b00aa4d7524761b0e9a6a90438b9272a365076
parent42dd880e678061aa1b26c69579a2dbb8f9532460
clk: s2mps11: Add missing of_node_put and of_clk_del_provider

Add of_clk_del_provider to remove previously registered clock provider.
Add of_node_put to decrement the ref count of clock nodes.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-s2mps11.c