Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73656
b: refs/heads/master
c: 1299342
h: refs/heads/master
v: v3
  • Loading branch information
Andrey Borzenkov authored and Linus Torvalds committed Nov 15, 2007
1 parent 38bfa84 commit c75cc68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a146a2b0d6e97941a5c2dc5d8a3ea1e6c3ab997
refs/heads/master: 1299342bacbe9038bef473d9b5b3cbebad112d4c
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/toshiba_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,12 @@ static int __init toshiba_acpi_init(void)
NULL,
&toshiba_backlight_data);
if (IS_ERR(toshiba_backlight_device)) {
int ret = PTR_ERR(toshiba_backlight_device);

printk(KERN_ERR "Could not register toshiba backlight device\n");
toshiba_backlight_device = NULL;
toshiba_acpi_exit();
return ret;
}
toshiba_backlight_device->props.max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1;

Expand Down

0 comments on commit c75cc68

Please sign in to comment.