ide: add ide_for_each_present_dev() iterator
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
commit7ed5b157d9dff55bf477b4c8b4708d5d45476677
treecbfd113108efd3b4d0b634f02ca8f09e99b7fdc7
parent8cd3c605624035b7f57deb8894e17c5ba6d05b2e
ide: add ide_for_each_present_dev() iterator

* Add ide_for_each_present_dev() iterator and convert IDE code to use it.

* Do some drive-by CodingStyle fixups in ide-acpi.c while at it.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-acpi.c
drivers/ide/ide-iops.c
drivers/ide/ide-probe.c
include/linux/ide.h