]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - log when we create a guest serio port
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Jan 2018 19:58:31 +0000 (11:58 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Jan 2018 00:27:40 +0000 (16:27 -0800)
commit53de821be35027ffd29252416d2507eb9d7c683a
tree9b10344cc02444aa38decda7219c86d1b69f1674
parent92fb128cff95ff7173b52c8da4981a0196ad70ed
Input: synaptics-rmi4 - log when we create a guest serio port

To ease analyzing boot behavior from logs, let's log when we are about to
register the pass-through serio port.

Also, let's drop "Synaptics" prefix from the port name, as RMI4 is good
enough indicator already, and having the prefix means that the name does
not fit into serio->name field. While at it move from hard-coded seio->phys
to one mentioning the sensor ID (such as "rmi4-00.fn03/serio0").

Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f03.c