Input: synaptics-rmi4 - use dev_driver_string when registering interrupt
authorNick Dyer <nick@shmanahar.org>
Fri, 14 Apr 2017 21:42:44 +0000 (14:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Apr 2017 21:52:29 +0000 (14:52 -0700)
commit72fe38704c92e63459dd362cd27f9b32a63bbb48
tree796b153b9bed1b27c269f82671be6d33d354d6f0
parent021cbc1edadf466d088da1345264e1840c6665d3
Input: synaptics-rmi4 - use dev_driver_string when registering interrupt

When IRQ handling was moved to rmi_driver in 3aeed5b the naming of the
interrupt changed from "rmi4_i2c" to "2-0020" (or similar). This patch
restores the previous behaviour and makes the interrupt easier to identify
in /proc/interrupts.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Tested-by: Chris Healy <cphealy@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.c