Skip to content

Commit

Permalink
usb: misc: onboard_hub: Register child devices
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Schwalm <[email protected]>
  • Loading branch information
maximschwalm authored and clamor-s committed Aug 16, 2022
1 parent e30f41a commit e909029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/misc/onboard_usb_hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static int onboard_hub_probe(struct platform_device *pdev)
INIT_WORK(&hub->attach_usb_driver_work, onboard_hub_attach_usb_driver);
schedule_work(&hub->attach_usb_driver_work);

return 0;
return devm_of_platform_populate(dev);
}

static int onboard_hub_remove(struct platform_device *pdev)
Expand Down

0 comments on commit e909029

Please sign in to comment.