]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit695f6060903cefa08ffb78433136f51ac0f94488
treed7f6fc53ff5234c46017a32672c5c79de82b65f7
parenta88bc06e5aec4984f5bf01c6d410a0939134f737
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