Re: [PATCH 3/3] drm: logicvc: use automatic cleanup facility for layers_node

2024-10-11 Thread Louis Chauvet
On 11/10/24 - 01:11, Javier Carrasco wrote: > Use the more robust approach provided by the __free() macro to > automatically call of_node_put() when the device node goes out of scope. > > Signed-off-by: Javier Carrasco Reviewed-by: Louis Chauvet > --- > drivers/gpu/drm/logicvc/logicvc_layer.c

[PATCH 3/3] drm: logicvc: use automatic cleanup facility for layers_node

2024-10-10 Thread Javier Carrasco
Use the more robust approach provided by the __free() macro to automatically call of_node_put() when the device node goes out of scope. Signed-off-by: Javier Carrasco --- drivers/gpu/drm/logicvc/logicvc_layer.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/driver