]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a2be583dc7077e80f6082d4ff9827e3003e081e
tree6a989b8f81738ccfc14c7ecc3d6d61e862293851
parent219c9076286fd92026e818ab1375558e5b20649f
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