Skip to content

Commit

Permalink
toshiba_acpi: Initialize brightness in backlight device
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Seth Forshee authored and Matthew Garrett committed Oct 24, 2011
1 parent 36d03f9 commit ac2dad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/toshiba_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev)
dev->backlight_dev = NULL;
goto error;
}
dev->backlight_dev->props.brightness = get_lcd(dev->backlight_dev);

/* Register rfkill switch for Bluetooth */
if (hci_get_bt_present(dev, &bt_present) == HCI_SUCCESS && bt_present) {
Expand Down

0 comments on commit ac2dad8

Please sign in to comment.