Thread (36 messages) 36 messages, 3 authors, 2021-03-23

Re: [PATCH v8 02/22] gpio: regmap: set gpio_chip of_node

From: Andy Shevchenko <hidden>
Date: 2021-03-18 12:04:24
Also in: linux-devicetree, linux-gpio, lkml

On Wed, Mar 17, 2021 at 4:38 PM Álvaro Fernández Rojas
[off-list ref] wrote:
This is needed for properly registering GPIO regmap as a child of a regmap
pin controller.
...
+       /* gpiolib will use of_node of the parent if chip->of_node is NULL */
+       chip->of_node = to_of_node(config->fwnode);
As the kernel bot rightfully noticed this should be under ifdeffery (OF_GPIO?).

-- 
With Best Regards,
Andy Shevchenko

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help