summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-12 06:07:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2012-09-18 20:50:23 (GMT)
commitf45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0 (patch)
tree0ac0dbb64bce6694b783a6e78d947c7838269885
parentba753e41803681d164eb17274b53085c7987d07c (diff)
downloadlinux-f45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0.tar.xz
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>
-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 34a35ba..4ac759c 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;