usb: gadget: s3c-hsudc: move device registration to probe
authorHeiko Stübner <heiko@sntech.de>
Mon, 19 Dec 2011 18:41:05 +0000 (19:41 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:39 +0000 (13:24 +0200)
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>

No differences found