Commit 32358443 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Jean Delvare

i2c-pca-platform: Change device name of request_irq

i2c->adap.name shouldn't be used in request_irq.
Instead the driver name "i2c-pca-platform" should be used.
Signed-off-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Cc: stable@kernel.org
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 0a57274e
...@@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(struct platform_device *pdev) ...@@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(struct platform_device *pdev)
if (irq) { if (irq) {
ret = request_irq(irq, i2c_pca_pf_handler, ret = request_irq(irq, i2c_pca_pf_handler,
IRQF_TRIGGER_FALLING, i2c->adap.name, i2c); IRQF_TRIGGER_FALLING, pdev->name, i2c);
if (ret) if (ret)
goto e_reqirq; goto e_reqirq;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment