commit | d22558dd0a6c888b1829f9d3a0a627e330e27585 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Tue May 04 14:00:13 2021 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Thu Jun 10 13:09:18 2021 +0100 |
tree | c8b8ac1f4db942b3330890eb894500eedafb6376 | |
parent | d4a45c68dc81f9117ceaff9f058d5fae674181b9 [diff] |
irqdomain: Introduce irq_resolve_mapping() Rework irq_find_mapping() to return an both an irq_desc pointer, optionally the virtual irq number, and rename the result to __irq_resolve_mapping(). a new helper called irq_resolve_mapping() is provided for code that doesn't need the virtual irq number. irq_find_mapping() is also rewritten in terms of __irq_resolve_mapping(). Signed-off-by: Marc Zyngier <maz@kernel.org>