Re: [PATCH] clk: s2mps11: Simplify s2mps11_clk_probe unwind paths

2014-05-19 Thread Krzysztof Kozlowski
On nie, 2014-05-18 at 23:51 +0800, Axel Lin wrote: > The devm_clk_unregister() in probe error paths are not necessary as it will be > automatically called when probe fails. > > Signed-off-by: Axel Lin > --- > drivers/clk/clk-s2mps11.c | 14 -- > 1 file changed, 4 insertions(+), 10

Re: [PATCH] clk: s2mps11: Simplify s2mps11_clk_probe unwind paths

2014-05-19 Thread Krzysztof Kozlowski
On nie, 2014-05-18 at 23:51 +0800, Axel Lin wrote: The devm_clk_unregister() in probe error paths are not necessary as it will be automatically called when probe fails. Signed-off-by: Axel Lin axel@ingics.com --- drivers/clk/clk-s2mps11.c | 14 -- 1 file changed, 4

[PATCH] clk: s2mps11: Simplify s2mps11_clk_probe unwind paths

2014-05-18 Thread Axel Lin
The devm_clk_unregister() in probe error paths are not necessary as it will be automatically called when probe fails. Signed-off-by: Axel Lin --- drivers/clk/clk-s2mps11.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-s2mps11.c

[PATCH] clk: s2mps11: Simplify s2mps11_clk_probe unwind paths

2014-05-18 Thread Axel Lin
The devm_clk_unregister() in probe error paths are not necessary as it will be automatically called when probe fails. Signed-off-by: Axel Lin axel@ingics.com --- drivers/clk/clk-s2mps11.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git