Skip to content

Commit 4949d81

Browse files
committed
USB: gadget: bcm63xx_udc: debugfs_lookup() fix
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 51fbef4 commit 4949d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/gadget/udc/bcm63xx_udc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,7 @@ static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc)
22592259
*/
22602260
static void bcm63xx_udc_cleanup_debugfs(struct bcm63xx_udc *udc)
22612261
{
2262-
debugfs_remove(debugfs_lookup(udc->gadget.name, usb_debug_root));
2262+
debugfs_lookup_and_remove(udc->gadget.name, usb_debug_root);
22632263
}
22642264

22652265
/***********************************************************************

0 commit comments

Comments
 (0)