From: Sebastian Andrzej Siewior Date: Sat, 4 Feb 2012 17:55:24 +0000 (+0100) Subject: usb: gadget: atmel_usba_udc: convert to newstyle start/stop interface X-Git-Tag: v3.5-rc1~149^2~139^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d809f78f81fc1c7e9d8afaaa51ec4813612aff94;p=pandora-kernel.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed