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

From: Xichao Zhao
Date: Thu Aug 21 2025 - 23:48:19 EST


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