thinkpad_acpi: Remember adaptive kbd presence
authorBastien Nocera <hadess@hadess.net>
Mon, 2 Mar 2015 13:45:16 +0000 (14:45 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 3 Mar 2015 16:58:54 +0000 (08:58 -0800)
commitf23a5bcb70586231b5130a08de965592afdcf9cd
tree2b1609cd10259d6e346fb498a546bb5a26b4f848
parentc517d838eb7d07bbe9507871fab3931deccff539
thinkpad_acpi: Remember adaptive kbd presence

Rather than checking on each suspend and resume whether the laptop
has an adaptive keyboard, check when the driver is initialised.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c