usb: gadget: udc: lpc32xx: simplify probe
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Apr 2019 12:09:04 +0000 (14:09 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:48 +0000 (09:13 +0300)
commit408b56ca5c8eea1e46d2094818de8acc7215cf58
treee39f35e7668a1da1bc3c3e4c03dd47c3253a856e
parent1e868545f2bb06f7dd4a1c97c5b9ed2615929cf0
usb: gadget: udc: lpc32xx: simplify probe

Simplify .probe and .remove by using devm managed allocations and requests.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/lpc32xx_udc.c