]> www.infradead.org Git - linux.git/commit
irqdomain: Convert __irq_domain_create() to use struct irq_domain_info
authorHerve Codina <herve.codina@bootlin.com>
Fri, 14 Jun 2024 17:32:07 +0000 (19:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Jun 2024 13:48:13 +0000 (15:48 +0200)
commit24a4f4e48557dddf2bb722df7b01184efc92a6a7
tree16ec5204e67be2a5c3ce47736f75fb06966cf98f
parentdbd56abffc6a43eb361e8033dce7a7d176f8e867
irqdomain: Convert __irq_domain_create() to use struct irq_domain_info

The existing __irq_domain_create() use a bunch of parameters to create
an irq domain.

With the introduction of irq_domain_info structure, these parameters are
available in the information structure itself.
Using directly this information structure allows future flexibility to
add other parameters in a simple way without the need to change the
__irq_domain_create() prototype.

Convert __irq_domain_create() to use the information structure.

[ tglx: Fixup struct initializer ]

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240614173232.1184015-7-herve.codina@bootlin.com
kernel/irq/irqdomain.c