Re: Re: [PATCH 11/20] gpio/rockchip: add of_node for gpiochip

From: Andy Shevchenko
Date: Sat Oct 08 2022 - 14:21:45 EST


On Sat, Oct 08, 2022 at 02:19:28PM +0800, jay.xu@xxxxxxxxxxxxxx wrote:

...

> the gc->of_node is a fix for my patch serial, without this the gpiochip will fail to register.

Do not use of_node. We have parent and fwnode members, use them according to your needs.

--
With Best Regards,
Andy Shevchenko