]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: wdt87xx_i2c - switch to use dev_err_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Jan 2026 20:33:52 +0000 (12:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Jan 2026 20:37:52 +0000 (12:37 -0800)
commit3033da61dc3982234da896be03e50633b62cfbd3
tree7a8ecb89667bee613b5347a673e47ab38afd17eb
parentb58a2c1a91e79fa7eeb636433d0e8d3e6d7896c7
Input: wdt87xx_i2c - switch to use dev_err_probe()

Switch to use dev_err_probe() to simplify the error path and
unify a message template. With that being done, drop the now no-op
message for -ENOMEM as allocator will print a big warning anyway
and remove duplicate message for devm_request_threaded_irq().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260113082445.44186-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wdt87xx_i2c.c