When watching the irqs name of tegra i2c, all instances irq name shows as tegra_i2c. Passing the device name properly to have the irq names with instance like tegra-i2c.0, tegra-i2c.1 etc.
Unified · Split
| @@ -742,7 +742,7 @@ static int __devinit tegra_i2c_probe(struct platform_device *pdev) · 741 unmodified lines | ||
| 742 | 742 | } |
| 743 | 743 | |
| 744 | 744 | ret = devm_request_irq(&pdev->dev, i2c_dev->irq, |
| 745 | − tegra_i2c_isr, 0, pdev->name, i2c_dev); | |
| 745 | + tegra_i2c_isr, 0, dev_name(&pdev->dev), i2c_dev); | |
| 746 | 746 | if (ret) { |
| 747 | 747 | dev_err(&pdev->dev, "Failed to request irq %i\n", i2c_dev->irq); |
| 748 | 748 | return ret; |