Re: [PATCH] backlight: sky81452-backlight: replace of_node_put with __free

2024-05-01 Thread Shresth Prasad
I'll remove the unnecessary braces and resend the patch. Regards, Shresth On Wed, May 1, 2024 at 7:49 PM Julia Lawall wrote: > > > > On Wed, 1 May 2024, Daniel Thompson wrote: > > > On Wed, May 01, 2024 at 06:21:46PM +0530, R Sundar wrote: > > > Use the new cleanup magic to replace of_node_put()

Re: [PATCH] backlight: sky81452-backlight: replace of_node_put with __free

2024-05-01 Thread Julia Lawall
On Wed, 1 May 2024, Daniel Thompson wrote: > On Wed, May 01, 2024 at 06:21:46PM +0530, R Sundar wrote: > > Use the new cleanup magic to replace of_node_put() with > > __free(device_node) marking to auto release when they get out of scope. > > > > Suggested-by: Julia Lawall > > Signed-off-by: R

Re: [PATCH] backlight: sky81452-backlight: replace of_node_put with __free

2024-05-01 Thread Daniel Thompson
On Wed, May 01, 2024 at 06:21:46PM +0530, R Sundar wrote: > Use the new cleanup magic to replace of_node_put() with > __free(device_node) marking to auto release when they get out of scope. > > Suggested-by: Julia Lawall > Signed-off-by: R Sundar Thanks for the patch but I think this one is a mo