On Fri, Dec 03, 2021 at 08:31:21AM +0100, Pavel Machek wrote: > Hi! > > > GPIO library does copy the of_node from the parent device of > > the GPIO chip, there is no need to repeat this in the individual > > drivers. Remove assignment here. > > > > For the details one may look into the of_gpio_dev_init() > > implementation. > > So... where do you see of_gpio_dev_init called in this particular > case? Inside GPIO library as stated in the commit message. --> tca6507_probe_gpios() --> gpiochip_add_data() --> gpiochip_add_data_with_key() --> of_gpio_dev_init() -- With Best Regards, Andy Shevchenko