[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240825051627.2848495-1-dmitry.torokhov@gmail.com>
Date: Sat, 24 Aug 2024 22:16:04 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: linux-input@...r.kernel.org
Cc: Michael Hennerich <michael.hennerich@...log.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Laxman Dewangan <ldewangan@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Hans de Goede <hdegoede@...hat.com>,
Tony Lindgren <tony@...mide.com>,
Jeff LaBundy <jeff@...undy.com>,
linux-kernel@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-tegra@...r.kernel.org
Subject: [PATCH 00/17] Convert keyboard drivers to use new cleanup facilities
Hi,
This series converts drivers found in drivers/input/keyboard to use new
__free() and guard() cleanup facilities that simplify the code and
ensure that all resources are released appropriately.
Thanks!
Dmitry Torokhov (17):
Input: adp5589-keys - use guard notation when acquiring mutex
Input: applespi - use guard notation when acquiring spinlock
Input: atkbd - use guard notation when acquiring mutex
Input: ep93xx_keypad - use guard notation when acquiring mutex
Input: gpio-keys - switch to using cleanup functions
Input: imx_keypad - use guard notation when acquiring mutex
Input: ipaq-micro-keys - use guard notation when acquiring mutex and spinlock
Input: iqs62x-keys - use cleanup facility for fwnodes
Input: lm8323 - use guard notation when acquiring mutexes
Input: lpc32xx-keys - use guard notation when acquiring mutex
Input: matrix_keypad - use guard notation when acquiring spinlock
Input: omap4-keypad - use guard notation when acquiring mutex
Input: pmic8xxx-keypad - use guard notation when acquiring mutex
Input: pxa27x_keypad - use guard notation when acquiring mutex
Input: spear-keyboard - use guard notation when acquiring mutex
Input: st-keyscan - use guard notation when acquiring mutex
Input: tegra-kbc - use guard notation when acquiring mutex and spinlock
drivers/input/keyboard/adp5589-keys.c | 39 ++++++-------
drivers/input/keyboard/applespi.c | 72 ++++++------------------
drivers/input/keyboard/atkbd.c | 37 +++++-------
drivers/input/keyboard/ep93xx_keypad.c | 8 +--
drivers/input/keyboard/gpio_keys.c | 44 ++++++---------
drivers/input/keyboard/imx_keypad.c | 27 ++++-----
drivers/input/keyboard/ipaq-micro-keys.c | 12 ++--
drivers/input/keyboard/iqs62x-keys.c | 7 +--
drivers/input/keyboard/lm8323.c | 49 ++++++++--------
drivers/input/keyboard/lpc32xx-keys.c | 18 +++---
drivers/input/keyboard/matrix_keypad.c | 18 +++---
drivers/input/keyboard/omap4-keypad.c | 4 +-
drivers/input/keyboard/pmic8xxx-keypad.c | 8 +--
drivers/input/keyboard/pxa27x_keypad.c | 16 +++---
drivers/input/keyboard/spear-keyboard.c | 8 +--
drivers/input/keyboard/st-keyscan.c | 19 ++++---
drivers/input/keyboard/tegra-kbc.c | 45 +++++++--------
17 files changed, 169 insertions(+), 262 deletions(-)
--
Dmitry
Powered by blists - more mailing lists