Re: [PATCH linux-next] macintosh/macio-adb: replace of_node_put() with __free

2024-05-03 Thread Michael Ellerman
On Wed, 24 Apr 2024 20:37:18 +0530, 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. > > Applied to powerpc/next. [1/1] macintosh/macio-adb: replace of_node_put() with __free

[PATCH linux-next] macintosh/macio-adb: replace of_node_put() with __free

2024-04-24 Thread sundar
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: sundar --- drivers/macintosh/macio-adb.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-)