summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-sensor-hub.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-12 08:07:00 +0200
committerJonathan Cameron <jic23@kernel.org>2012-09-18 22:50:23 +0200
commitf45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0 (patch)
tree0ac0dbb64bce6694b783a6e78d947c7838269885 /drivers/hid/hid-sensor-hub.c
parentStaging: remove CONFIG_EXPERIMENTAL dependancies (diff)
downloadlinux-f45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0.tar.xz
linux-f45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0.zip
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>
Diffstat (limited to 'drivers/hid/hid-sensor-hub.c')
-rw-r--r--drivers/hid/hid-sensor-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 34a35ba95fc1..4ac759c1fe22 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;