usb: gadget: udc: at91: use PTR_ERR_OR_ZERO()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 29 Mar 2016 09:26:06 +0000 (12:26 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 14 Apr 2016 06:24:38 +0000 (09:24 +0300)
commit46cdd1900fa7a1d7afd1f8d051e513105d0cea98
treec477afc7a0f809c495a21ea1ecf0f03fa47e09fc
parentaa3342c8bb618ae25beccddacc3efb415c3a987b
usb: gadget: udc: at91: use PTR_ERR_OR_ZERO()

coccicheck found this pattern which could be
converted to PTR_ERR_OR_ZERO(). No functional
changes.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/at91_udc.c