[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241107071538.195340-1-dmitry.torokhov@gmail.com>
Date: Wed, 6 Nov 2024 23:15:27 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <bentiss@...nel.org>,
Hans de Goede <hdegoede@...hat.com>
Cc: linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] Convert input core to use new cleanup facilities
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
Powered by blists - more mailing lists