irqdomain: Use a dedicated function to set the domain name
authorHerve Codina <herve.codina@bootlin.com>
Fri, 14 Jun 2024 17:32:06 +0000 (19:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Jun 2024 13:48:13 +0000 (15:48 +0200)
commitdbd56abffc6a43eb361e8033dce7a7d176f8e867
tree68691e4ace0f61bf36d3f014f8617e89eccb0f0f
parent922ac2cf9fe444c4aff165b9f7e158a9b651647d
irqdomain: Use a dedicated function to set the domain name

The interrupt domain name computation and setting is directly done in
__irq_domain_create(). This leads to a quite long __irq_domain_create()
function.

In order to simplify __irq_domain_create() and isolate the domain name
computation and setting, move the related operations to a dedicated
function.

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-6-herve.codina@bootlin.com
kernel/irq/irqdomain.c