]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3552cc5724e083087df8ad508377fd4f8a89c9c4
treeb874df118797d8feea22c2a2fda3ac64fb210ff0
parentbbc92429b6c175aea0f75fe34c18b8a538c2c657
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