]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc933e00d186a772bcf252f1e409d4224c14dbd4e
tree019b2acd3a460ed94bea123f171733619cf8e317
parent6c5457f0acbe23f2b903c43435f574af625a46da
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