提交 5ed45910 编写于 作者: A Andi Kleen

Merge branch 'wmi-fix' into release-2.6.27

...@@ -1186,7 +1186,7 @@ static int create_debugfs(void) ...@@ -1186,7 +1186,7 @@ static int create_debugfs(void)
return 0; return 0;
error_debugfs: error_debugfs:
remove_debugfs(); remove_debugfs();
return -ENOMEM; return -ENOMEM;
} }
...@@ -1267,6 +1267,7 @@ static int __init acer_wmi_init(void) ...@@ -1267,6 +1267,7 @@ static int __init acer_wmi_init(void)
static void __exit acer_wmi_exit(void) static void __exit acer_wmi_exit(void)
{ {
remove_sysfs(acer_platform_device); remove_sysfs(acer_platform_device);
remove_debugfs();
platform_device_del(acer_platform_device); platform_device_del(acer_platform_device);
platform_driver_unregister(&acer_platform_driver); platform_driver_unregister(&acer_platform_driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册