time/debug: Remove dentry pointer for debugfs
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Feb 2021 15:50:20 +0000 (16:50 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Mar 2021 10:20:26 +0000 (11:20 +0100)
commit44511ab344c755d1f216bf421e92fbc2777e87fe
tree7daad7afa19628fb17d802c58d43d098df96e412
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
time/debug: Remove dentry pointer for debugfs

There is no need to keep the dentry pointer around for the created
debugfs file, as it is only needed when removing it from the system.
When it is to be removed, ask debugfs itself for the pointer, to save on
storage and make things a bit simpler.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210216155020.1012407-1-gregkh@linuxfoundation.org
kernel/time/test_udelay.c