Merge tag 'md/3.19' of git://neil.brown.name/md
[cascardo/linux.git] / drivers / mfd / viperboard.c
index 3c2b8f9..e6b3c70 100644 (file)
@@ -93,9 +93,8 @@ static int vprbrd_probe(struct usb_interface *interface,
                 version >> 8, version & 0xff,
                 vb->usb_dev->bus->busnum, vb->usb_dev->devnum);
 
-       ret = mfd_add_devices(&interface->dev, PLATFORM_DEVID_AUTO,
-                               vprbrd_devs, ARRAY_SIZE(vprbrd_devs), NULL, 0,
-                               NULL);
+       ret = mfd_add_hotplug_devices(&interface->dev, vprbrd_devs,
+                                     ARRAY_SIZE(vprbrd_devs));
        if (ret != 0) {
                dev_err(&interface->dev, "Failed to add mfd devices to core.");
                goto error;