USB: fix skeleton driver
commitba35e02bdcbd3a25238421a7e20efdb69436d3cf
authorOliver Neukum <oneukum@suse.de>
Thu, 1 Mar 2007 13:31:02 +0000 (1 14:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:33 +0000 (27 13:28 -0700)
tree06432c0c28b762b8df2d55f76d4a0d3d0be9881b
parent08a78cbb410032a025e0323bcfb12b348fc7a389
USB: fix skeleton driver

compilation of the skeleton driver is currently broken. It doesn't compile.
So while I am it:

- fix typo
- add comments to answer common questions
- actually allow autosuspend in the driver struct
- increase paralellism by restricting code under locks

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/usb-skeleton.c