Re: [PATCH v2 11/11] firmware: arm_scmi: Set fwnode for the scmi_device
From: Andy Shevchenko
Date: Fri Jan 27 2023 - 04:53:07 EST
On Thu, Jan 26, 2023 at 04:11:38PM -0800, Saravana Kannan wrote:
> This allows fw_devlink to track and enforce supplier-consumer
> dependencies for scmi_device.
...
> scmi_dev->dev.of_node = np;
> + scmi_dev->dev.fwnode = of_fwnode_handle(np);
As per previous patch:
device_set_node(&scmi_dev->dev, of_fwnode_handle(np));
--
With Best Regards,
Andy Shevchenko