acer-wmi: remove debugfs entries upon unloading
commit39dbbb4523754df4a822c69191a848a03e556dc7
authorRuss Dill <russ.dill@gmail.com>
Tue, 2 Sep 2008 21:35:40 +0000 (2 14:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Sep 2008 02:21:37 +0000 (2 19:21 -0700)
treeef0e116623d66534fcd694b0fc6c87c1463dd395
parent6ccfa806a9cfbbf1cd43d5b6aa47ef2c0eb518fd
acer-wmi: remove debugfs entries upon unloading

The exit function neglects to remove debugfs entries, leading to a BUG
on reload.

[akpm@linux-foundation.org: cleanups]
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/acer-wmi.c