[PATCH 0/8] Convert input core to use new cleanup facilities
From: Dmitry Torokhov
Date: Thu Nov 07 2024 - 02:15:56 EST
Hi,
This series converts input core (but not input handlers such as evdev,
joydev, etc) to use new __free() and guard() cleanup facilities that
simplify the code and ensure that all resources are released
appropriately.
Input handlers will be converted separately later.
Thanks!
Dmitry Torokhov (8):
Input: ff-core - convert locking to guard notation
Input: ff-core - make use of __free() cleanup facility
Input: ff-memless - convert locking to guard notation
Input: ff-memless - make use of __free() cleanup facility
Input: mt - convert locking to guard notation
Input: mt - make use of __free() cleanup facility
Input: poller - convert locking to guard notation
Input: use guard notation in input core
drivers/input/ff-core.c | 90 ++++------
drivers/input/ff-memless.c | 17 +-
drivers/input/input-mt.c | 34 ++--
drivers/input/input-poller.c | 4 +-
drivers/input/input.c | 339 ++++++++++++++---------------------
5 files changed, 184 insertions(+), 300 deletions(-)
--
Dmitry