ide: factor out code initializing devices from ide_init_port()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:39 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:39 +0000 (19:56 +0100)
commit7704ca2a3ee4b3690c5dcc99ea4f8dcf10d7bbdb
treeed6a3d6461fba99ba967b206d46d51e965fc9c1b
parent909f4369bca30f9a186316a3bf2b4a9c1e702a25
ide: factor out code initializing devices from ide_init_port()

* Factor out code initializing devices from ide_init_port() to
  ide_port_init_devices().

* Call the new function from ide_device_add_all().

There should be no functionality changes caused by this patch.

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