]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: adxl34x - drop redundant error variable in adxl34x_i2c_probe
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 23 Feb 2026 00:03:04 +0000 (01:03 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Feb 2026 03:52:22 +0000 (19:52 -0800)
commitde716275941af60247967887be3303e144ed57d7
tree6dae19eb0c213b1c06282e596f01b24fa88a92d8
parente7b53288d9ea899abc6d47a7f20065ab511a810c
Input: adxl34x - drop redundant error variable in adxl34x_i2c_probe

Inline i2c_check_functionality(), which really returns a bool and not an
error code, and remove the local variable.  No functional changes.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260223000308.319335-1-thorsten.blum@linux.dev
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/adxl34x-i2c.c