mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
i2c-pca-platform: Change device name of request_irq
commit 323584436d upstream.
i2c->adap.name shouldn't be used in request_irq.
Instead the driver name "i2c-pca-platform" should be used.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7a263a4d8d
commit
363feffb2e
@@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(struct platform_device *pdev)
|
||||
|
||||
if (irq) {
|
||||
ret = request_irq(irq, i2c_pca_pf_handler,
|
||||
IRQF_TRIGGER_FALLING, i2c->adap.name, i2c);
|
||||
IRQF_TRIGGER_FALLING, pdev->name, i2c);
|
||||
if (ret)
|
||||
goto e_reqirq;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user