All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] OMAP clock: use debugfs_remove_recursive() for rewinding
@ 2009-08-16  4:25 Hiroshi DOYU
  0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi DOYU @ 2009-08-16  4:25 UTC (permalink / raw)
  To: linux-omap; +Cc: paul, Hiroshi DOYU

Rewinding each debugfs entries to unregister if an error happens.

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

diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c
index a8cb24a..60d70ba 100644
--- a/arch/arm/plat-omap/clock.c
+++ b/arch/arm/plat-omap/clock.c
@@ -918,7 +918,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.6.0.4


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

* Re: [PATCH 1/1] OMAP clock: use debugfs_remove_recursive() for rewinding
       [not found] <1250418107-22835-1-git-send-email-Hiroshi.DOYU@nokia.com>
@ 2009-08-16 13:47 ` Paul Walmsley
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Walmsley @ 2009-08-16 13:47 UTC (permalink / raw)
  To: Hiroshi DOYU; +Cc: linux-arm-kernel, linux-omap, tony

On Sun, 16 Aug 2009, Hiroshi DOYU wrote:

> Rewinding each debugfs entries to unregister if an error happens.
> 
> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

Queued for RMK along with the other 2.6.32 merge window patches from me.



- Paul

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

end of thread, other threads:[~2009-08-16 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-16  4:25 [PATCH 1/1] OMAP clock: use debugfs_remove_recursive() for rewinding Hiroshi DOYU
     [not found] <1250418107-22835-1-git-send-email-Hiroshi.DOYU@nokia.com>
2009-08-16 13:47 ` Paul Walmsley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.