diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2012-02-04 18:55:24 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-05-04 15:53:01 +0300 |
commit | d809f78f81fc1c7e9d8afaaa51ec4813612aff94 (patch) | |
tree | 8e818679d8eabd6c26dcb55ffe0b51d4b69f3639 /drivers/usb/gadget/fsl_qe_udc.c | |
parent | f3d8bf34c2c925867322197096ed501ceab8085a (diff) | |
download | blackbird-op-linux-d809f78f81fc1c7e9d8afaaa51ec4813612aff94.tar.gz blackbird-op-linux-d809f78f81fc1c7e9d8afaaa51ec4813612aff94.zip |
usb: gadget: atmel_usba_udc: convert to newstyle 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 the_udc
variable in start/stop functions. I kept the the_udc variable since it
makes the init code a little simpler.
Someone with hardware might want to look if it possible to move the vbus
irq/toggle_bias code into ->pullup().
Compile tested only.
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/fsl_qe_udc.c')
0 files changed, 0 insertions, 0 deletions