Skip to content

Commit 3235844

Browse files
Nobuhiro IwamatsuJean Delvare
authored andcommitted
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>
1 parent 0a57274 commit 3235844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/i2c/busses/i2c-pca-platform.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(struct platform_device *pdev)
224224

225225
if (irq) {
226226
ret = request_irq(irq, i2c_pca_pf_handler,
227-
IRQF_TRIGGER_FALLING, i2c->adap.name, i2c);
227+
IRQF_TRIGGER_FALLING, pdev->name, i2c);
228228
if (ret)
229229
goto e_reqirq;
230230
}

0 commit comments

Comments
 (0)