ide: use mutex instead of ide_cfg_sem semaphore in IDE driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Mon, 9 Jul 2007 21:17:55 +0000 (23:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:55 +0000 (23:17 +0200)
commitef29888ea8e1fdc499e995260195b66fc91d2728
treeaa042c07a63de5bf4147ab819f89724ad9838877
parentc283f5dbe31920ca70b80a594a97bfaa2a28be13
ide: use mutex instead of ide_cfg_sem semaphore in IDE driver

The IDE driver uses a semaphore as mutex.
Use the mutex API instead of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c
drivers/ide/ide.c
include/linux/ide.h