Thomas Gleixner 3142788b79 drivers/base: Convert dev->sem to mutex
The semaphore is semantically a mutex. Convert it to a real mutex and
fix up a few places where code was relying on semaphore.h to be included
by device.h, as well as the users of the trylock function, as that value
is now reversed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-21 09:37:30 -07:00
..
2009-09-15 12:02:16 -07:00
2010-05-10 10:23:20 +02:00
2010-03-03 16:43:05 -08:00
2010-05-20 13:21:40 -07:00
2008-10-13 14:32:52 -07:00