Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db210f82 authored by Thiago Farina's avatar Thiago Farina Committed by David S. Miller
Browse files

ide/ide-scan-pci.c: Use for_each_pci_dev().



Use for_each_pci_dev() to simplify the code.

Signed-off-by: default avatarThiago Farina <tfransosi@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 245e3718
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ static int __init ide_scan_pcibus(void)
	struct list_head *l, *n;

	pre_init = 0;
	while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)))
	for_each_pci_dev(dev)
		ide_scan_pcidev(dev);

	/*