]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: langwell: don't use the_controller when it's not needed
authorFelipe Balbi <balbi@ti.com>
Sat, 8 Oct 2011 10:08:01 +0000 (13:08 +0300)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:39:54 +0000 (20:39 +0300)
commit43aeb3c5d6c202fd06043cd8740199d3bb1df92e
tree9a069c78e732b2cfbff7d55f55e7ab4553ae9776
parente1db5845e1409cf1d8911e081cab01cf906b3804
usb: gadget: langwell: don't use the_controller when it's not needed

in most cases, we can fetch our structure by
calling dev_get_drvdata().

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/langwell_udc.c