Re: [PATCH 5/7] s3c-hsudc: move device registration to probe and remove

2011-12-18 Thread Russell King - ARM Linux
On Sat, Dec 17, 2011 at 08:28:34PM +0100, Heiko Stübner wrote: > 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 and unregister it in the remove function. > > This also requires

[PATCH 5/7] s3c-hsudc: move device registration to probe and remove

2011-12-17 Thread Heiko Stübner
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 and unregister it in the remove function. This also requires a release function for the gadget device. Signed-off-by: Heiko Stuebner