[PATCH v2 1/4] gpio: sifive: Directly use the device's fwnode

Andy Shevchenko andy at kernel.org
Wed Jul 19 09:44:20 PDT 2023


On Wed, Jul 19, 2023 at 09:34:42AM -0700, Samuel Holland wrote:
> There is no need to convert dev->of_node back to a fwnode_handle.

...

> -	girq->fwnode = of_node_to_fwnode(node);
> +	girq->fwnode = dev->fwnode;

	dev_fwnode(dev)

...and include property.h here

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-riscv mailing list