Dan Carpenter 798a2468e0 usb: gadget: gr_udc: remove some unneeded error handling
Debugfs function return an ERR_PTR if they compiled out.  We don't need
to test for that here because if the debugfs file are compiled out then
it is ok to pass an ERR_PTR to debugfs_create_file() since it will just
be a no-op stub.

Debugfs return NULLs on error, but we don't need to test for that either
because debugfs_create_file() will accept NULL pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-02-20 09:16:17 -06:00
..
2014-02-18 10:53:02 -06:00
2013-11-26 13:41:32 -06:00
2013-11-26 13:41:32 -06:00
2013-12-17 13:17:43 -06:00
2013-07-30 11:18:46 +03:00
2013-11-26 13:41:32 -06:00
2013-11-26 13:41:32 -06:00
2013-12-19 09:18:53 -06:00