[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250822034751.244248-1-zhao.xichao@vivo.com>
Date: Fri, 22 Aug 2025 11:47:47 +0800
From: Xichao Zhao <zhao.xichao@...o.com>
To: Heiko Stuebner <heiko@...ech.de>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...),
linux-kernel@...r.kernel.org (open list)
Cc: Xichao Zhao <zhao.xichao@...o.com>
Subject: [PATCH v2 0/2] Input: Remove dev_err_probe() if error is -ENOMEM
The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.
---
v2: Split each driver into a separate patch.
---
Xichao Zhao (2):
Input: misc: Remove dev_err_probe() if error is -ENOMEM
Input: zforce_ts - remove dev_err_probe() if error is -ENOMEM
drivers/input/misc/qnap-mcu-input.c | 2 +-
drivers/input/touchscreen/zforce_ts.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
--
2.34.1
Powered by blists - more mailing lists