]> err.no Git - linux-2.6/commit
ACPI: ibm-acpi: fix initial status of backlight device
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 22 Feb 2007 18:04:55 +0000 (16:04 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 22 Feb 2007 18:09:25 +0000 (16:09 -0200)
commitadb005818b71e9476581a1de5742e2f427ac9e2b
tree97f6001a85ac57b2b7494abe4db84686579b4f39
parentc8f71b01a50597e298dc3214a2f2be7b8d31170c
ACPI: ibm-acpi: fix initial status of backlight device

The brightness class core does not update the initial status of the
device's brightness at register time.  Do it by ourselves.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
drivers/acpi/ibm_acpi.c