usb: gadget: gr_udc: Use platform_get_irq instead of irq_of_parse_and_map
authorAndreas Larsson <andreas@gaisler.com>
Thu, 27 Mar 2014 15:15:55 +0000 (16:15 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Apr 2014 19:07:26 +0000 (14:07 -0500)
commit196800da39a142e2952ad5e1cb58a84838956764
tree591b809d7eb5d30b6af2d580c4e1a272cdafec1c
parentd9a6ef1bb27e589ec40f792f3e742c3f54cbdb28
usb: gadget: gr_udc: Use platform_get_irq instead of irq_of_parse_and_map

Use platform_get_irq as no mapping needs to be done. No functional difference
for SPARC which is the typical environment for the driver though. Suggested by
Mark Rutland.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/gr_udc.c