Merge branch 'wmi-fix' into release-2.6.27

This commit is contained in:
Andi Kleen 2008-09-04 14:41:02 +02:00
commit 5ed459102d

View File

@ -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);