platform/x86: wmi: add context argument to the probe function
authorMattias Jacobsson <2pi@mok.nu>
Mon, 27 May 2019 16:21:30 +0000 (18:21 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Jun 2019 12:22:47 +0000 (15:22 +0300)
commit440c4983de262f78033ec58f6abcd199a664327d
tree90be45f40a11262d0808c17ae7eead61741c1c48
parenta48e23385fcf397e69e2a75d72a81c545ec8bec2
platform/x86: wmi: add context argument to the probe function

The struct wmi_device_id has a context pointer field, forward this
pointer as an argument to the probe function in struct wmi_driver.

Update existing users of the same probe function to accept this new
context argument.

Signed-off-by: Mattias Jacobsson <2pi@mok.nu>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-smbios-wmi.c
drivers/platform/x86/dell-wmi-descriptor.c
drivers/platform/x86/dell-wmi.c
drivers/platform/x86/huawei-wmi.c
drivers/platform/x86/intel-wmi-thunderbolt.c
drivers/platform/x86/wmi-bmof.c
drivers/platform/x86/wmi.c
include/linux/wmi.h