mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-17 23:25:46 +08:00
HID: sensors: fix up for mfd_add_devices() API change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
ba753e4180
commit
f45c69b113
@ -596,7 +596,7 @@ static int sensor_hub_probe(struct hid_device *hdev,
|
||||
}
|
||||
}
|
||||
ret = mfd_add_devices(&hdev->dev, 0, sd->hid_sensor_hub_client_devs,
|
||||
sd->hid_sensor_client_cnt, NULL, 0);
|
||||
sd->hid_sensor_client_cnt, NULL, 0, NULL);
|
||||
if (ret < 0)
|
||||
goto err_free_names;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user