]> git.ipfire.org Git - thirdparty/linux.git/commit
Input: synaptics_i2c - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jan 2026 19:55:51 +0000 (11:55 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jan 2026 20:23:44 +0000 (12:23 -0800)
commit84910bc5daaadff27a4f1428e15d939ee570a807
tree1823aa81f8c1468080e1c00204ab341217f58cd2
parent870c2e7cd881d7a10abb91f2b38135622d9f9f65
Input: synaptics_i2c - switch to using managed resources

Switch the driver to use managed resources (devm_*) which simplifier
error handling and allows removing synaptics_i2c_remove() methods form
the driver.

Rename "ret" to "error" where makes sense while at it.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics_i2c.c