mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
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>
This commit is contained in:
parent
021cbc1eda
commit
72fe38704c
@ -251,7 +251,7 @@ static int rmi_irq_init(struct rmi_device *rmi_dev)
|
||||
|
||||
ret = devm_request_threaded_irq(&rmi_dev->dev, pdata->irq, NULL,
|
||||
rmi_irq_fn, irq_flags | IRQF_ONESHOT,
|
||||
dev_name(rmi_dev->xport->dev),
|
||||
dev_driver_string(rmi_dev->xport->dev),
|
||||
rmi_dev);
|
||||
if (ret < 0) {
|
||||
dev_err(&rmi_dev->dev, "Failed to register interrupt %d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user