commit | 103495aaf0e7674f6d7995982b48118188c247eb | [log] [tgz] |
---|---|---|
author | Heiko Stübner <heiko@sntech.de> | Mon Dec 19 19:41:05 2011 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Wed Dec 21 13:24:39 2011 +0200 |
tree | 2df5b113c7598b294685a2910a22327014993751 | |
parent | e9bcb9e5feb0f5d1ccf155b6ca9e1b8f7147f0d6 [diff] |
usb: gadget: s3c-hsudc: move device registration to probe Instead of adding and deleting the gadget device in the start and stop invocations. Use device_register in the probe method to initialize and add the gadget device. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Felipe Balbi <balbi@ti.com>