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>
This commit is contained in:

committato da
Andy Shevchenko

parent
a48e23385f
commit
440c4983de
@@ -146,7 +146,7 @@ fail_smbios_cmd:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int dell_smbios_wmi_probe(struct wmi_device *wdev)
|
||||
static int dell_smbios_wmi_probe(struct wmi_device *wdev, const void *context)
|
||||
{
|
||||
struct wmi_driver *wdriver =
|
||||
container_of(wdev->dev.driver, struct wmi_driver, driver);
|
||||
|
Fai riferimento in un nuovo problema
Block a user