Skip to content

Commit

Permalink
Merge branch 'wmi-fix' into release-2.6.27
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Sep 4, 2008
2 parents 4fd2343 + 7d964c3 commit 5ed4591
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/misc/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ static int create_debugfs(void)
return 0;

error_debugfs:
remove_debugfs();
remove_debugfs();
return -ENOMEM;
}

Expand Down Expand Up @@ -1267,6 +1267,7 @@ static int __init acer_wmi_init(void)
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);

Expand Down

0 comments on commit 5ed4591

Please sign in to comment.