diff options
author | Jack Steiner <steiner@sgi.com> | 2009-12-16 00:48:06 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 15:20:15 (GMT) |
commit | f2965d68b6775290218ff2a040e64c8b40556280 (patch) | |
tree | 69f058811c32d0aa69ffd2814dd45c6f2886201b /drivers/misc/sgi-gru | |
parent | 99f7c229b32bdf7424fbeb1d0d1b3883e14e97d0 (diff) | |
download | linux-fsl-qoriq-f2965d68b6775290218ff2a040e64c8b40556280.tar.xz |
gru: fix bug in module unload
Fix bug in module unload. Previous code was not correctly deleting the
files in /proc.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru')
-rw-r--r-- | drivers/misc/sgi-gru/gruprocfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-gru/gruprocfs.c b/drivers/misc/sgi-gru/gruprocfs.c index a8a2e76..4f6fc11 100644 --- a/drivers/misc/sgi-gru/gruprocfs.c +++ b/drivers/misc/sgi-gru/gruprocfs.c @@ -351,7 +351,7 @@ static void delete_proc_files(void) for (p = proc_files; p->name; p++) if (p->entry) remove_proc_entry(p->name, proc_gru); - remove_proc_entry("gru", NULL); + remove_proc_entry("gru", proc_gru->parent); } } |