]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/ls-extirq: Use for_each_of_imap_item iterator
authorHerve Codina (Schneider Electric) <herve.codina@bootlin.com>
Wed, 14 Jan 2026 09:39:32 +0000 (10:39 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 15 Jan 2026 11:03:27 +0000 (12:03 +0100)
commit3ac6dfe3d7a2396602b67667249b146504dfbd2a
tree6f945cc1a9a2a5bb093f307a13186a336021670a
parenta9811aeb42f85bd423725996ef7dce5cd51f8ff7
irqchip/ls-extirq: Use for_each_of_imap_item iterator

The ls-extirq driver parses the interrupt-map property. It does it using
open code.

Recently for_each_of_imap_item iterator has been introduce to help
drivers in this parsing.

Convert the ls-extirq driver to use the for_each_of_imap_item
iterator instead of open code.

Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260114093938.1089936-4-herve.codina@bootlin.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/irqchip/irq-ls-extirq.c