Re: [PATCH v2 1/5] Input: adp5589: use devm_kzalloc() to allocate the kpad object

From: Dmitry Torokhov
Date: Thu Nov 19 2020 - 02:06:42 EST


On Thu, Nov 12, 2020 at 09:43:04AM +0200, Alexandru Ardelean wrote:
> This removes the need to manually free the kpad object and cleans up some
> exit/error paths.
> The error path cleanup should reduce the risk of any memory leaks with this
> object.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>

Applied, thank you.

--
Dmitry