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

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 functions. I kept the controller variable since it
makes the init code a little simpler.
Compile tested only.

Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/at91_udc.c