toshiba_acpi: Adapt kbd_bl_timeout_store to the new kbd type
authorAzael Avalos <coproscefalo@gmail.com>
Sat, 4 Oct 2014 18:02:21 +0000 (12:02 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 7 Oct 2014 00:44:42 +0000 (17:44 -0700)
commiteabde0fa967052df12bdd8e8a72f0af799e1e704
treedcb00008ea57a5c5b434487df66db0b1a15d3439
parent893f3f62dc7ade3700cdceed23ce38bb92e3966b
toshiba_acpi: Adapt kbd_bl_timeout_store to the new kbd type

With the introduction of the new keyboard backlight
implementation, the *_timeout_store function is
broken, as it only supports the first kbd_type.

This patch adapts such function for the new kbd_type,
as well as converts from using sscanf to kstrtoint.

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