Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: Fix debugfs_create_file's error checking method for usb/gadget/s…
…3c2410_udc debugfs_create_file() returns NULL if an error occurs, returns -ENODEV when debugfs is not enabled in the kernel. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information