aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-12 02:07:00 -0400
committerJonathan Cameron <jic23@kernel.org>2012-09-18 16:50:23 -0400
commitf45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0 (patch)
tree0ac0dbb64bce6694b783a6e78d947c7838269885
parentba753e41803681d164eb17274b53085c7987d07c (diff)
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 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,
596 } 596 }
597 } 597 }
598 ret = mfd_add_devices(&hdev->dev, 0, sd->hid_sensor_hub_client_devs, 598 ret = mfd_add_devices(&hdev->dev, 0, sd->hid_sensor_hub_client_devs,
599 sd->hid_sensor_client_cnt, NULL, 0); 599 sd->hid_sensor_client_cnt, NULL, 0, NULL);
600 if (ret < 0) 600 if (ret < 0)
601 goto err_free_names; 601 goto err_free_names;
602 602