]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: imx_udc: convert to new style start/stop
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sat, 4 Feb 2012 17:55:28 +0000 (18:55 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:02 +0000 (15:53 +0300)
commit6f549a7fb7259a949c7fb2a1767dad383a91a8e9
tree79f4a253b624528c9727959fe6cb991489346413
parent1c441a6c06a9920bd0d81616f162e9f4712f2ef1
usb: gadget: imx_udc: convert to new style start/stop

This patches converts the driver into the new style start/stop interface.
As a result the driver no longer uses the static global controller
variable in start/stop code. I kept the gloval controller variable because
it keeps init simple.
Compile tested only.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/imx_udc.c