Re: [PATCH v8 04/10] reset: eyeq5: add platform driver

From: Andy Shevchenko
Date: Thu Feb 29 2024 - 08:53:22 EST


On Thu, Feb 29, 2024 at 03:48:59PM +0200, Andy Shevchenko wrote:
> On Thu, Feb 29, 2024 at 01:18:08PM +0100, Théo Lebrun wrote:

..

> The downside is that you will need to include property.h for this only thing.
> And I don't see other code that can be converted to fwnode right away here.

I meant here

device_set_node(..., dev_fwnode(parent));

On the second thought it can survive probably without it in a form

device_set_node(..., of_fwnode_handle(parent->of_node));

but this does not fully solve the fundamental problem with accessing of_node.

--
With Best Regards,
Andy Shevchenko