]> git.baikalelectronics.ru Git - kernel.git/commit
ide: remove hwif->present manipulations from hwif_init()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:34 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:34 +0000 (23:09 +0100)
commita832b4a9ec23cb968371d0c432b766df1e17417b
tree627eadcd69bc46efe2c99493602cae714f83c534
parentbe62b3d0fe36eea16868af2a63c68498d938b9f9
ide: remove hwif->present manipulations from hwif_init()

* Call hwif_init() only if hwif->present is set.

* If hwif_init() fails clear hwif->present.

* Remove hwif->present manipulations from hwif_init().

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