]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: wmi: Add new method wmidev_evaluate_method
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 1 Nov 2017 19:25:23 +0000 (14:25 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 3 Nov 2017 23:33:57 +0000 (16:33 -0700)
commit4868dd8ee521ac731114078f94bcff3a9e8f6506
tree956a8cb207cc0ad028fa09d85f562efbeafe58c5
parent9f978275cd69f4c25edf2b6e33b94ddd6e2b85a2
platform/x86: wmi: Add new method wmidev_evaluate_method

Drivers properly using the wmibus can pass their wmi_device
pointer rather than the GUID back to the WMI bus to evaluate
the proper methods.

Any "new" drivers added that use the WMI bus should use this
rather than the old wmi_evaluate_method that would take the
GUID.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/wmi.c
include/linux/wmi.h