USB: musb: clean up debugfs file and directory creation
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 May 2018 15:30:48 +0000 (17:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 May 2018 10:54:21 +0000 (12:54 +0200)
commit8a1ef171ffc3de16d4f34e03a2b8c296771f7015
tree51acfda55aaab7cde1f0a1e67d109008c05f6a23
parenta941fc3957113df977e7396c2cf1679e87a65555
USB: musb: clean up debugfs file and directory creation

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Because of this, lots of init functions do not need to have return
values, so this cleans up a lot of unused error handling code that never
could have triggered in the past.

Cc: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_debug.h
drivers/usb/musb/musb_debugfs.c
drivers/usb/musb/musb_dsps.c