]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (s3c-hwmon) Use a real mutex
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 Oct 2010 18:31:44 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:44 +0000 (20:31 +0200)
commitc65051f00c4be4886532261894860413136476af
treee04a1c7d96ea649e2f7831d388fa6b643411f0a3
parentd6600bc45d7f70178c1068124c4fd41035642565
hwmon: (s3c-hwmon) Use a real mutex

The semaphore which protects the ADC is semantically a mutex. Use a
real mutex.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/s3c-hwmon.c