]> 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)
commita539f215d5e3ff9334c0146947e3a79480eb464b
treeb874df118797d8feea22c2a2fda3ac64fb210ff0
parentb7d0adf0aa950e592300b2d4cf849c790e2e72cb
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