Re: [PATCH v2 02/10] drm/mxsfb/lcdif: simplify ep pointer management using __free
From: Liu Ying
Date: Wed Apr 01 2026 - 23:52:50 EST
On Mon, Mar 30, 2026 at 09:25:43PM +0200, Luca Ceresoli wrote:
> Putting the ep device_node reference requires a of_node_put(ep) in many
> return points. Use a cleanup action to simplify the code.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
>
> ---
>
> This patch is new in v2
> ---
> drivers/gpu/drm/mxsfb/lcdif_drv.c | 13 +++----------
> 1 file changed, 3 insertions(+), 10 deletions(-)
Reviewed-by: Liu Ying <victor.liu@xxxxxxx>