input: Misc/hp_sdc_rtc: semaphore cleanup
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:31:58 +0000 (14:31 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:07 +0000 (17:36 +0200)
commit10d0ff83078d5ef99aaf94a2aaceb740f5ced923
tree624e52f122dcd4eb5a1f8d4b314a1b0b224da901
parent37eca0d64a2dbeece25969ec0698e1ff72bdcf39
input: Misc/hp_sdc_rtc: semaphore cleanup

Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
LKML-Reference: <20100907125054.888438853@linutronix.de>
drivers/input/misc/hp_sdc_rtc.c