linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] sh: clkfwk: Use debugfs_remove_recursive() for rewinding
@ 2010-05-10 11:50 Hiroshi DOYU
  2010-05-11  2:51 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi DOYU @ 2010-05-10 11:50 UTC (permalink / raw)
  To: linux-sh

From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

Rewinding each debugfs entries to unregister if an error happens.

Based on the commit ca4caa4e1d45f9542fa54263974d0ef637157b4a

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
---
 arch/sh/kernel/cpu/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c
index e9fa1bf..551b214 100644
--- a/arch/sh/kernel/cpu/clock.c
+++ b/arch/sh/kernel/cpu/clock.c
@@ -673,7 +673,7 @@ static int __init clk_debugfs_init(void)
 	}
 	return 0;
 err_out:
-	debugfs_remove(clk_debugfs_root); /* REVISIT: Cleanup correctly */
+	debugfs_remove_recursive(clk_debugfs_root);
 	return err;
 }
 late_initcall(clk_debugfs_init);
-- 
1.7.1.rc1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] sh: clkfwk: Use debugfs_remove_recursive() for rewinding
  2010-05-10 11:50 [PATCH 1/1] sh: clkfwk: Use debugfs_remove_recursive() for rewinding Hiroshi DOYU
@ 2010-05-11  2:51 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-05-11  2:51 UTC (permalink / raw)
  To: linux-sh

On Mon, May 10, 2010 at 02:50:55PM +0300, Hiroshi DOYU wrote:
> From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> 
> Rewinding each debugfs entries to unregister if an error happens.
> 
> Based on the commit ca4caa4e1d45f9542fa54263974d0ef637157b4a
> 
> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-11  2:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 11:50 [PATCH 1/1] sh: clkfwk: Use debugfs_remove_recursive() for rewinding Hiroshi DOYU
2010-05-11  2:51 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).