usb: gadget: r8a66597-udc: use devm_request_irq() to get device irq
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 17 Jun 2014 15:15:00 +0000 (16:15 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:26:28 +0000 (12:26 -0500)
commit4b526951c356c9270f1737ca4e100e9b420d8223
tree406ca8b075ef68e1c05fe6f0bc7c56a9beab5776
parent3d7037b76ba81a35daf627391b67be6463e56353
usb: gadget: r8a66597-udc: use devm_request_irq() to get device irq

Use the devm_request_irq() call to get the interrupt for the
device and have it automatically free on exit.

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