Commit ef32f036 authored by Thomas Gleixner's avatar Thomas Gleixner

input: serio/hp_sdc: semaphore cleanup

The usage of this "mutex" is non obvious and probably a completion in
some places. Make it a semaphore.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Dmitry Torokhov <dtor@mail.ru>
parent e77305e4
......@@ -1039,7 +1039,7 @@ static int __init hp_sdc_register(void)
return hp_sdc.dev_err;
}
init_MUTEX_LOCKED(&tq_init_sem);
semaphore_init(&tq_init_sem);
tq_init.actidx = 0;
tq_init.idx = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment