]> 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)
commit56f8fafc7216f254434ff04520fc81047c4344f2
tree6a989b8f81738ccfc14c7ecc3d6d61e862293851
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
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