]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit722c856d46c6ca74a246b54a72f14751fec01aae
tree956a8cb207cc0ad028fa09d85f562efbeafe58c5
parentf35a8efe2c34496eaf45f8a9bd5bb7625d34bb5c
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