USB: gadget: bcm63xx_udc: remove dentry storage for debugfs file
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 May 2021 17:15:08 +0000 (19:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 May 2021 07:34:44 +0000 (09:34 +0200)
commit0cac357717168f84d2f75e884a9cff52e6471aaa
tree5644e830bec9de6cc2bfdf3ae0e726e3c86c802b
parent8f6c7c5a11ec599be524190122a56dbb730069a3
USB: gadget: bcm63xx_udc: 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: Kevin Cernekee <cernekee@gmail.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: bcm-kernel-feedback-list@broadcom.com
Link: https://lore.kernel.org/r/20210525171508.758365-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/bcm63xx_udc.c