[PATCH] USB: File-Storage gadget: use the kthread API
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 26 Sep 2005 20:12:02 +0000 (16:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:42 +0000 (16:47 -0700)
commit22efcf4adec4262e0f49e6225f6cd070e4a85d20
tree416d2fbb46995ad9483e1dee758ee818292e2ed9
parentdabb592816444fcba1a771e27d4f72a2b8218374
[PATCH] USB: File-Storage gadget: use the kthread API

This patch (as566) converts the File-Storage gadget over to the kthread
API.  The new code doesn't use kthread_stop because the control thread
needs to terminate asynchronously when it receives a signal.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/usb/gadget/file_storage.c |   32 +++++++++++++-------------------
 1 file changed, 13 insertions(+), 19 deletions(-)
drivers/usb/gadget/file_storage.c