toshiba_acpi: Propagate the hotkey value via genetlink
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 16 Nov 2015 03:33:46 +0000 (20:33 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 21 Nov 2015 00:43:13 +0000 (16:43 -0800)
commit13ae84f9486b5a1b3614c3da37cba561b8eb3c7f
tree019b2acd3a460ed94bea123f171733619cf8e317
parent394cb778ca2b9627e5189076e7299e8ab3969c7e
toshiba_acpi: Propagate the hotkey value via genetlink

The driver uses genetlink to inform userspace of events generated by
the system, but the data passed is always zero as there is no data to
pass, except for the hotkey event.

This patch propagates the hotkey value via genetlink so userspace can
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