irqdomain: Remove debugfs_file from struct irq_domain
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Feb 2021 14:36:07 +0000 (15:36 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 8 Mar 2021 20:12:08 +0000 (20:12 +0000)
commit69dd4503a7e6bae3389b8e028e5768008be8f2d7
tree6a989b8f81738ccfc14c7ecc3d6d61e862293851
parenta38fd8748464831584a19438cbb3082b5a2dab15
irqdomain: Remove debugfs_file from struct irq_domain

There's no need to keep around a dentry pointer to a simple file that
debugfs itself can look up when we need to remove it from the system.
So simplify the code by deleting the variable and cleaning up the logic
around the debugfs file.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/YCvYV53ZdzQSWY6w@kroah.com
include/linux/irqdomain.h
kernel/irq/irqdomain.c