Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58122
b: refs/heads/master
c: 5ebffd7
h: refs/heads/master
v: v3
  • Loading branch information
Maxime Austruy authored and Linus Torvalds committed Jul 1, 2007
1 parent a8aca43 commit c412fea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d80d02173360562625c10a526132fb87be4de2a4
refs/heads/master: 5ebffd7c05391693b71d3326c8c78ff82f728ed0
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ static int __init asus_acpi_init(void)
if (!asus_hotk_found) {
acpi_bus_unregister_driver(&asus_hotk_driver);
remove_proc_entry(PROC_ASUS, acpi_root_dir);
return result;
return -ENODEV;
}

asus_backlight_device = backlight_device_register("asus",NULL,NULL,
Expand All @@ -1407,6 +1407,7 @@ static int __init asus_acpi_init(void)
printk(KERN_ERR "Could not register asus backlight device\n");
asus_backlight_device = NULL;
asus_acpi_exit();
return -ENODEV;
}
asus_backlight_device->props.max_brightness = 15;

Expand Down

0 comments on commit c412fea

Please sign in to comment.