usb: gadget: r8a66597-udc: cleanup error path
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 17 Jun 2014 15:14:58 +0000 (16:14 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:26:21 +0000 (12:26 -0500)
commit776976a67ae25d18be42794fd783a50757402cbe
treeb874df118797d8feea22c2a2fda3ac64fb210ff0
parent9a6d5d4475d8c0ef5e59fecf9f425e786a914dbc
usb: gadget: r8a66597-udc: cleanup error path

With the updates for devm, the cleanup path no longer needs to
check for NULL device state, so remove it and return directly
if the irq resource missing

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/r8a66597-udc.c