of/platform: Inform about created platform devices using pr_debug()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 22 Feb 2024 15:31:20 +0000 (16:31 +0100)
committerRob Herring <robh@kernel.org>
Fri, 1 Mar 2024 21:53:41 +0000 (15:53 -0600)
commit336157be7e93394901a8752354562449fcd3ee0f
treea5c3f81419be7fc0194337fe8822e1e34c9adb7e
parent1447c13051c7ed6f43a73eeee8e26280c4016e5d
of/platform: Inform about created platform devices using pr_debug()

For most nodes with a compatible property a platform device is created.
For some an amba device is created instead. For the latter
of_amba_device_create() emits a message at debug level about the node
the device is created from. Add a similar message to
of_platform_device_create_pdata() to inform about the whole list of
created devices.

This also gives the right context for the following messages that
inform about created child devices.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240222153119.2026363-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/platform.c