]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e238921b7bb5ad54a0b024333ee87bc625fff26
tree11da1847cf54dc79c5976ede115de0761ddc26a0
parentdad26e719f132976dc10b96ff74b9315f96b0a79
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