mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
irqdomain: Drop leftover brackets
Drop some unnecessary brackets that were left in place when the corresponding code was updated. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230213104302.17307-11-johan+linaro@kernel.org
This commit is contained in:
parent
28a9ff23d8
commit
4e0d86df93
@ -210,9 +210,8 @@ static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode,
|
||||
domain->host_data = host_data;
|
||||
domain->hwirq_max = hwirq_max;
|
||||
|
||||
if (direct_max) {
|
||||
if (direct_max)
|
||||
domain->flags |= IRQ_DOMAIN_FLAG_NO_MAP;
|
||||
}
|
||||
|
||||
domain->revmap_size = size;
|
||||
|
||||
@ -652,10 +651,9 @@ void irq_domain_associate_many(struct irq_domain *domain, unsigned int irq_base,
|
||||
pr_debug("%s(%s, irqbase=%i, hwbase=%i, count=%i)\n", __func__,
|
||||
of_node_full_name(of_node), irq_base, (int)hwirq_base, count);
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
for (i = 0; i < count; i++)
|
||||
irq_domain_associate(domain, irq_base + i, hwirq_base + i);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(irq_domain_associate_many);
|
||||
|
||||
#ifdef CONFIG_IRQ_DOMAIN_NOMAP
|
||||
|
Loading…
Reference in New Issue
Block a user