USB: chipidea: remove dentry storage for debugfs file
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 May 2021 17:14:19 +0000 (19:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 May 2021 07:34:34 +0000 (09:34 +0200)
commit8f6c7c5a11ec599be524190122a56dbb730069a3
treee9f1a8684fd07279d7d5a058229e745f5880d642
parentab00a41e73dc06b5a140af8c796d1bf03f6ec4ca
USB: chipidea: remove dentry storage for debugfs file

There is no need to store the dentry pointer for a debugfs file that we
only use to remove it when the device goes away.  debugfs can do the
lookup for us instead, saving us some trouble, and making things smaller
overall.

Cc: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20210525171419.758146-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/debug.c