]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqdomain: um: use irq_domain_create_linear() helper
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 15 Apr 2025 10:47:13 +0000 (12:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 May 2025 08:25:38 +0000 (10:25 +0200)
commit7633b8b1e793e3441448c12c271fbecc53397fa9
treebb61de9c34f0bc3abc6b2c023fe9277aea7c8d9b
parenta0e2cb6a90634f3dc80f16e882a683ee5761b0b0
irqdomain: um: use irq_domain_create_linear() helper

um_pci_init() open-codes what the irq_domain_create_linear() helper
does already. Use the helper instead of open-coding it.

This needs retval checking modification.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-um@lists.infradead.org
Link: https://patch.msgid.link/20250415104713.106819-1-jirislaby@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/virt-pci.c