input: Serio/hp_sdc: semaphore cleanup
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:32:06 +0000 (14:32 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:08 +0000 (17:36 +0200)
commit4a4a506f81eebe63fb1b8e9e99f4bcd1fd9aac66
treed2f14f6b2e9300384c9e800f7c9bc1b23578dede
parent45e8492f594dcb17e8cbb26edb2dd3018a68dada
input: Serio/hp_sdc: 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: <20100907125055.079737758@linutronix.de>
drivers/input/serio/hp_sdc.c