USB: misc: legousbtower: semaphore to mutex
authorDaniel Walker <dwalker@mvista.com>
Fri, 11 Jan 2008 16:45:44 +0000 (08:45 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:02 +0000 (14:35 -0800)
commit18bcbcfe9ca2308ebffb40068b51803da9315d97
tree11da1847cf54dc79c5976ede115de0761ddc26a0
parentda0e8fb00b862aa10265f0c64930b432cd44420b
USB: misc: legousbtower: semaphore to mutex

The dev->sem conforms to mutex style usage. This patch converts it to use
the struct mutex type, and new API.

There is also a small style fix around this comment,

/* unlock here as tower_delete frees dev */

Where I broke the line up to meet the 80 char limit.

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/legousbtower.c