Input: synaptics-rmi4 - when registering sensors do not call them "drivers"
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 21:21:44 +0000 (14:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:24:00 +0000 (16:24 -0700)
commit54bf08946a4ba0567f6ec063f0e42b276c478bcf
tree4b29e0ec364bb83c3001f3e3386084a429d3b997
parent8a7c71ae38844948f1e42b3d85ab59868287e413
Input: synaptics-rmi4 - when registering sensors do not call them "drivers"

We are not registering drivers, but transport devices (AKA sensors), so
let's call them that.

Also let's rename "retval" to "error" in probe() functions as the variables
are used to store error codes.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_i2c.c
drivers/input/rmi4/rmi_smbus.c
drivers/input/rmi4/rmi_spi.c