Re: [PATCH][next] of: property: Remove calls to of_node_put

2024-05-29 Thread Shresth Prasad
29 May 2024 3:42:48 pm Marek Szyprowski : > On 15.05.2024 22:29, Shresth Prasad wrote: >> Add __free cleanup handler to some variable initialisations, which >> ensures that the resource is freed as soon as the variable goes out of >> scope. Thus removing the need to manually free up the resource u

Re: [PATCH][next] of: property: Remove calls to of_node_put

2024-05-29 Thread Marek Szyprowski
On 15.05.2024 22:29, Shresth Prasad wrote: > Add __free cleanup handler to some variable initialisations, which > ensures that the resource is freed as soon as the variable goes out of > scope. Thus removing the need to manually free up the resource using > of_node_put. > > Suggested-by: Julia Lawa