usb: gadgetfs: Convert semaphore to mutex
authorThomas Gleixner <tglx@linutronix.de>
Fri, 29 Jan 2010 20:38:59 +0000 (20:38 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:52 +0000 (14:54 -0800)
commita79df50bbad3b58efb5f2c730ca20573a674de10
treed8cb990cdbb0df40a836743d1d7932cb2b7168f8
parentb00ce11f00c9e86442de000e8bd3dd42f089c8e1
usb: gadgetfs: Convert semaphore to mutex

The semaphore data->lock is semantically a mutex. Convert it to a real
mutex.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c