We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e72c13 commit 4398719Copy full SHA for 4398719
1 file changed
drivers/soc/apple/dockchannel.c
@@ -361,8 +361,7 @@ static int dockchannel_probe(struct platform_device *pdev)
361
irq_set_handler_data(dcc->irq, dcc);
362
irq_set_chained_handler(dcc->irq, dockchannel_irq);
363
364
- for_each_child_of_node(dev->of_node, child)
365
- of_platform_device_create(child, NULL, dev);
+ devm_of_platform_populate(dev);
366
367
return 0;
368
}
0 commit comments