]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit48535651f6a993924115768aa7256c371bf818e6
tree627eadcd69bc46efe2c99493602cae714f83c534
parentc860a8f2d29b7da84fb3aed7b097f53c2c225fd6
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