On Thu, Feb 29, 2024 at 04:51:38PM +0200, Andy Shevchenko wrote: > Make of_gpio_get_count() take firmware node as a parameter in order > to be aligned with other functions and decouple from unused device > pointer. The latter helps to create a common fwnode_gpio_count() > in the future. > > While at it, rename to be of_gpio_count() to be aligned with the others. ... > struct device; > +struct fwnode_handle; I just realized that this should be replacement, not addition. -struct device; +struct fwnode_handle; Bart, tell me if you can update, or should I send a v3? -- With Best Regards, Andy Shevchenko