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 <tudor.ambarus@linaro.org> Signed-off-by: André Draszik <andre.draszik@linaro.org> Link: https://lore.kernel.org/r/20250327-acpm-children-v1-1-0afe15ee2ff7@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 5373438 commit 636baba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)