Since commit d59f6617eef0 ("genirq: Allow fwnode to carry name information only") an IRQ domain is always given a name during allocation (e.g. used for the debugfs entry). Drop the unused fallback name assignment when creating MSI domains.
Unified · Split
| @@ -830,11 +830,8 @@ static struct irq_domain *__msi_create_irq_domain(struct fwnode_handle *fwnode, · 829 unmodified lines | |||
| 830 | domain = irq_domain_create_hierarchy(parent, flags | IRQ_DOMAIN_FLAG_MSI, 0, | 830 | domain = irq_domain_create_hierarchy(parent, flags | IRQ_DOMAIN_FLAG_MSI, 0, |
| 831 | fwnode, &msi_domain_ops, info); | 831 | fwnode, &msi_domain_ops, info); |
| 832 | 832 | ||
| 833 | if (domain) { | 833 | if (domain) |
| 834 | if (!domain->name && info->chip) | ||
| 835 | domain->name = info->chip->name; | ||
| 836 | irq_domain_update_bus_token(domain, info->bus_token); | 834 | irq_domain_update_bus_token(domain, info->bus_token); |
| 837 | } | ||
| 838 | 835 | ||
| 839 | return domain; | 836 | return domain; |
| 840 | } | 837 | } |