aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2008-09-04 14:41:02 +0200
committerAndi Kleen <ak@linux.intel.com>2008-09-04 14:41:02 +0200
commit5ed459102d1e914972d65dd4ea9f26073143a4e9 (patch)
tree60223a29b992330c13a427fd63925f161537e62c /drivers/misc
parent4fd23436f1f414fea9a1a6050d4ed6de02cb91e5 (diff)
parent7d964c352b06aabb895e39d3b479e105bd9d1ca0 (diff)
Merge branch 'wmi-fix' into release-2.6.27
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/acer-wmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
index b2d9878dc3f..8290f67570c 100644
--- a/drivers/misc/acer-wmi.c
+++ b/drivers/misc/acer-wmi.c
@@ -1186,7 +1186,7 @@ static int create_debugfs(void)
return 0;
error_debugfs:
- remove_debugfs();
+ remove_debugfs();
return -ENOMEM;
}
@@ -1267,6 +1267,7 @@ error_platform_register:
static void __exit acer_wmi_exit(void)
{
remove_sysfs(acer_platform_device);
+ remove_debugfs();
platform_device_del(acer_platform_device);
platform_driver_unregister(&acer_platform_driver);