[PATCH 21/30] ide: Combine the two loops in ide_probe()