[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bc32d69f-70a9-4f52-88d3-8e2e8cec7829@mleia.com>
Date: Fri, 14 Nov 2025 02:18:22 +0200
From: Vladimir Zapolskiy <vz@...ia.com>
To: Haotian Zhang <vulab@...as.ac.cn>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
Piotr Wojtaszczyk <piotr.wojtaszczyk@...esys.com>
Cc: linux-mtd@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: rawnand: lpc32xx_slc: Convert to use
devm_gpiod_get_optional()
On 11/4/25 12:08, Haotian Zhang wrote:
> The initial fix for a GPIO descriptor leak added manual gpiod_put()
> calls in the error path and remove function.
>
> This follow-up patch improves upon the fix by switching to the
> resource-managed devm_gpiod_get_optional() API.
>
> Suggested-by: Vladimir Zapolskiy <vz@...ia.com>
> Signed-off-by: Haotian Zhang <vulab@...as.ac.cn>
Reviewed-by: Vladimir Zapolskiy <vz@...ia.com>
--
Best wishes,
Vladimir
Powered by blists - more mailing lists