Messages in this thread | | | Date | Wed, 18 Nov 2020 23:06:06 -0800 | From | Dmitry Torokhov <> | Subject | Re: [PATCH v2 1/5] Input: adp5589: use devm_kzalloc() to allocate the kpad object |
| |
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@analog.com>
Applied, thank you.
-- Dmitry
| |