+91
−119
Loading
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>