ide: ide_unregister() warm-plug bugfix
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 5 Jul 2008 18:30:51 +0000 (20:30 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 5 Jul 2008 18:30:51 +0000 (20:30 +0200)
commitbd8a59e29726b2a5ff7baefe995febdc63044a61
treeb539d13ba01929dd5c0500acce6e3a4d6b40469c
parent7cd95f56cb61f5348d062527c9d3653196f6e629
ide: ide_unregister() warm-plug bugfix

Fix ide_unregister() to work for ports with no devices attached to them.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide.c