i2c: mediatek: Rename i2c irq name
[email protected]
maintainerPATCH RESEND 1/1 i2c: mediatek: Rename i2c irq name
From: Qii Wang <[email protected]>
Rename i2c irq name with dev_name() which can provide unique naming in /proc/interrupts for each instance of the I2C IP core.
Signed-off-by Qii Wang <[email protected]>
--- drivers/i2c/busses/i2c-mt65xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-mt65xx.c +1 -1
@@ -1281,7 +1281,7 @@ static int mtk_i2c_probe(struct platform_device *pdev) ret =devm_request_irq (&pdev->dev, irq, mtk_i2c_irq,IRQF_NO_SUSPEND |IRQF_TRIGGER_NONE , -I2C_DRV_NAME , i2c); +dev_name (&pdev->dev), i2c);if (ret <0 ) {dev_err (&pdev->dev,"Request I2C IRQ %d fail\n" , irq);
Signature · 1 line
1.9.1
Wolfram Sang
AppliedQuoted 6 lines · On Thu, May 27, 2021 at 07:31:50PM +0800, [email protected] wrote:
From: Qii Wang <[email protected]>
Rename i2c irq name with
dev_name()which can provide unique naming in/proc/interruptsfor each instance of the I2C IP core.Signed-off-by Qii Wang <[email protected]>
Applied to for-next, thanks!