]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba_acpi: Transflective backlight updates
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 23 Jul 2015 00:09:13 +0000 (18:09 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 24 Jul 2015 21:18:00 +0000 (14:18 -0700)
commitc8b45ae2177dc77435afbed27981ab58e8facae0
treed7f6fc53ff5234c46017a32672c5c79de82b65f7
parent12c9543b04fd9ac0d75b766196425fca4772d45e
toshiba_acpi: Transflective backlight updates

This patch changes the tr function second parameter from bool to u32,
to be on par with the rest of the TCI functions of the driver, and the
code was updated accordingly.

Also, the check for translective support was moved to the *add
function, as the {__get, set}_lcd_brightness functions make use of it.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c