Skip to content

Commit 636baba

Browse files
ambaruskrzk
authored andcommitted
firmware: exynos-acpm: populate devices from device tree data
ACPM clients (PMIC, clocks, etc.) will be modeled as children of the ACPM interface. Populate children platform_devices from device tree. Signed-off-by: Tudor Ambarus <[email protected]> Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 5373438 commit 636baba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/samsung/exynos-acpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static int acpm_probe(struct platform_device *pdev)
633633

634634
platform_set_drvdata(pdev, acpm);
635635

636-
return 0;
636+
return devm_of_platform_populate(dev);
637637
}
638638

639639
/**

0 commit comments

Comments
 (0)