]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: mt - make use of __free() cleanup facility
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Nov 2024 07:15:33 +0000 (23:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Dec 2024 06:53:57 +0000 (22:53 -0800)
commit5bb6e29a2a5a01d916052fbc5398ed8c2c5377f0
treed2f54c8885c4d02f1a5daec7372f837941f170eb
parent4e3929ce6cc13b50e3975e8b243d2fcb17b63c64
Input: mt - make use of __free() cleanup facility

Annotate allocated memory with __free(kfree) to simplify the code and
make sure memory is released appropriately.

Link: https://lore.kernel.org/r/20241107071538.195340-7-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c