summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-sensor-hub.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-09-12 07:07:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-09-18 21:50:23 +0100
commitf45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0 (patch)
tree0ac0dbb64bce6694b783a6e78d947c7838269885 /drivers/hid/hid-sensor-hub.c
parentba753e41803681d164eb17274b53085c7987d07c (diff)
downloadblackbird-op-linux-f45c69b1136078bb35ee0f1cb89ae92fd9bc5cd0.tar.gz
blackbird-op-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;
OpenPOWER on IntegriCloud