MFD: ucb1x00-core: use mutexes instead of semaphores
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Jan 2012 09:33:38 +0000 (09:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Feb 2012 23:15:32 +0000 (23:15 +0000)
commitcae154767a96563d33924872aacfdc63d584f707
tree5071f9b5c462bb48b8f6539aeb62664a3e7ab20a
parentddb1e04a35846b6c5b6039e92555dafaf6ee03d2
MFD: ucb1x00-core: use mutexes instead of semaphores

Convert the ucb1x00 driver to use mutexes rather than the depreciated
semaphores for exclusive access to the ADC.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/ucb1x00-core.c
include/linux/mfd/ucb1x00.h