Skip to content

Commit 86be0b8

Browse files
maximschwalmdigetx
authored andcommitted
usb: misc: onboard_hub: Register child devices
Signed-off-by: Maxim Schwalm <[email protected]>
1 parent 7249abb commit 86be0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/misc/onboard_usb_hub.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static int onboard_hub_probe(struct platform_device *pdev)
277277
INIT_WORK(&hub->attach_usb_driver_work, onboard_hub_attach_usb_driver);
278278
schedule_work(&hub->attach_usb_driver_work);
279279

280-
return 0;
280+
return devm_of_platform_populate(dev);
281281
}
282282

283283
static int onboard_hub_remove(struct platform_device *pdev)

0 commit comments

Comments
 (0)