Thread (4 messages) 4 messages, 2 authors, 2025-10-18

[PATCH v2 0/2] Input: Remove dev_err_probe() if error is -ENOMEM

From: Xichao Zhao <hidden>
Date: 2025-08-22 03:48:09
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help