]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqdomain: Use IS_ERR_OR_NULL() in irq_domain_trim_hierarchy()
authorHongbo Li <lihongbo22@huawei.com>
Wed, 28 Aug 2024 12:27:24 +0000 (20:27 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Aug 2024 14:42:07 +0000 (16:42 +0200)
commit4609c6eab67bb1785a5337ddafb5c74c796bcd35
tree1b9df6aad665e2fc7988b430c87dfaed6743e1f4
parentbf1e0fb69a15fac4d6ee71d0e1c715147add986a
irqdomain: Use IS_ERR_OR_NULL() in irq_domain_trim_hierarchy()

Use IS_ERR_OR_NULL() instead of open-coding a NULL and a error pointer
check.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240828122724.3697447-1-lihongbo22@huawei.com
kernel/irq/irqdomain.c