Thread (7 messages) 7 messages, 3 authors, 2021-12-22

Re: [PATCH v1 1/1] gpio: Remove unused local OF node pointers

From: Andy Shevchenko <hidden>
Date: 2021-12-20 15:27:27
Also in: linux-arm-kernel, linux-gpio, lkml

On Mon, Dec 20, 2021 at 5:09 PM Bartosz Golaszewski [off-list ref] wrote:
On Mon, Dec 20, 2021 at 2:24 PM Andy Shevchenko
[off-list ref] wrote:
quoted
After the commit 448cf90513d9 ("gpio: Get rid of duplicate of_node
assignment in the drivers") the OF node local pointers become unused.
Remove them for good and make compiler happy about.

Fixes: 448cf90513d9 ("gpio: Get rid of duplicate of_node assignment in the drivers")
Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
...
quoted
-               gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pOF", dev->of_node);
+               gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pOF", np);
This is unrelated though. Can you make it a separate patch?
It actually makes use of the local np IIRC.
It's related, no?

-- 
With Best Regards,
Andy Shevchenko

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