]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
HID: sensors: fix up for mfd_add_devices() API change
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Sep 2012 06:07:00 +0000 (07:07 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 18 Sep 2012 20:50:23 +0000 (21:50 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/hid/hid-sensor-hub.c

index 34a35ba95fc173f6b01d5a26c579ce2dcd2c91a0..4ac759c1fe225c9f9e4d6cf27f9d0f2fd7805ce1 100644 (file)
@@ -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;