sh: clkfwk: Use debugfs_remove_recursive() for rewinding
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 10 May 2010 11:50:55 +0000 (14:50 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 May 2010 02:51:25 +0000 (11:51 +0900)
commit4f615d575c17195f975cf8314be54f362d859a3f
tree93329c42b2bb71d090c23af56384a8d80f9ff6d3
parent9e1985e13d42b4b66af94637346849565174309d
sh: clkfwk: Use debugfs_remove_recursive() for rewinding

Rewinding each debugfs entries to unregister if an error happens.

Based on the commit ca4caa4e1d45f9542fa54263974d0ef637157b4a

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c