提交 28a9ff23 编写于 作者: J Johan Hovold 提交者: Marc Zyngier

irqdomain: Drop dead domain-name assignment

Since commit d59f6617 ("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 leftover name assignment when allocating the first IRQ.
Tested-by: NHsin-Yi Wang <hsinyi@chromium.org>
Tested-by: NMark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: NJohan Hovold <johan+linaro@kernel.org>
Signed-off-by: NMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230213104302.17307-10-johan+linaro@kernel.org
上级 47d1932f
...@@ -619,10 +619,6 @@ static int irq_domain_associate_locked(struct irq_domain *domain, unsigned int v ...@@ -619,10 +619,6 @@ static int irq_domain_associate_locked(struct irq_domain *domain, unsigned int v
irq_data->hwirq = 0; irq_data->hwirq = 0;
return ret; return ret;
} }
/* If not already assigned, give the domain the chip's name */
if (!domain->name && irq_data->chip)
domain->name = irq_data->chip->name;
} }
domain->mapcount++; domain->mapcount++;
...@@ -1182,10 +1178,6 @@ static void irq_domain_insert_irq(int virq) ...@@ -1182,10 +1178,6 @@ static void irq_domain_insert_irq(int virq)
domain->mapcount++; domain->mapcount++;
irq_domain_set_mapping(domain, data->hwirq, data); irq_domain_set_mapping(domain, data->hwirq, data);
/* If not already assigned, give the domain the chip's name */
if (!domain->name && data->chip)
domain->name = data->chip->name;
} }
irq_clear_status_flags(virq, IRQ_NOREQUEST); irq_clear_status_flags(virq, IRQ_NOREQUEST);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册