]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
PCI: clean up search.c a lot
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Feb 2008 19:03:58 +0000 (11:03 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Apr 2008 04:46:54 +0000 (21:46 -0700)
commit95247b57ed844511a212265b45cf9a919753aea1
treeffabb4e3b868120f3d9a2c6463d568ad12d2f7f5
parent34220909a26b7f7cfc71e88ce01856c2563fe1d4
PCI: clean up search.c a lot

This cleans up the search.c file, now using the pci list of devices that
are created for the driver core, instead of relying on our separate list
of devices.  It's better to use the functions already created for this
kind of thing, instead of rolling our own all the time.

This work is done in anticipation of getting rid of that second list of
pci devices all together.

And it ends up saving code, always a nice benefit.

This also removes one compiler warning for when CONFIG_PCI_LEGACY is
enabled as we no longer internally use the deprecated functions anymore.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/search.c
include/linux/pci.h