Skip to content
Commit 0f8e5651 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Rob Herring
Browse files

of/platform: Propagate firmware node by calling device_set_node()



Insulate of_device_alloc() and of_amba_device_create() from possible
changes to fwnode_handle implementation by using device_set_node()
instead of open-coding dev->dev.fwnode assignments.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230615145243.37095-1-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent b6ca07fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment