acer-wmi: remove debugfs entries upon unloading
authorRuss Dill <russ.dill@gmail.com>
Tue, 2 Sep 2008 21:35:40 +0000 (14:35 -0700)
committerAndi Kleen <ak@linux.intel.com>
Thu, 4 Sep 2008 12:40:48 +0000 (14:40 +0200)
commit7d964c352b06aabb895e39d3b479e105bd9d1ca0
tree0b6684844032b6aa7df2585b44d65bf74b344e12
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5
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: Andi Kleen <ak@linux.intel.com>
drivers/misc/acer-wmi.c