]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: udc-core: initialize gadget->dev.driver
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 11:51:24 +0000 (13:51 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:30 +0000 (11:17 +0200)
commit70d3a49878cb3fc0e5ec0bd1e607c7ac63743f67
tree14403fa1cc47e2785835a23aa684868b14be41ac
parent8a1c33075e5e42074397aa8478fc16481e306b31
usb: gadget: udc-core: initialize gadget->dev.driver

if we initialize gadget->dev.driver ourselves,
UDC drivers won't have to do the same, so we
can remove some duplicated code.

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