Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: stable@kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Nobuhiro Iwamatsu and committed by
Jean Delvare
32358443 0a57274e

+1 -1
+1 -1
drivers/i2c/busses/i2c-pca-platform.c
··· 224 224 225 225 if (irq) { 226 226 ret = request_irq(irq, i2c_pca_pf_handler, 227 - IRQF_TRIGGER_FALLING, i2c->adap.name, i2c); 227 + IRQF_TRIGGER_FALLING, pdev->name, i2c); 228 228 if (ret) 229 229 goto e_reqirq; 230 230 }