From: Stephen Rothwell Date: Wed, 12 Sep 2012 06:07:00 +0000 (+0100) Subject: HID: sensors: fix up for mfd_add_devices() API change X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0;p=linux.git HID: sensors: fix up for mfd_add_devices() API change Signed-off-by: Stephen Rothwell Signed-off-by: Jonathan Cameron --- diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 34a35ba95fc17..4ac759c1fe225 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -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;