pci: minor cleanup of CONFIG_PCI_PNP usage
authorAndrew Sharp <andywyse6@gmail.com>
Wed, 29 Aug 2012 14:16:30 +0000 (14:16 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 12:18:19 +0000 (14:18 +0200)
commit03992ac2c974ae3e169219ba0ccdd94a8ce0146a
tree16bfb0956b5f1e30e462b30b3407a87c273642eb
parentcb2bf931dcca9ed0ee514680ed99d51b45036aa9
pci: minor cleanup of CONFIG_PCI_PNP usage

Refactor the common PCI code just a tiny bit surrounding the PCI_PNP
(pciauto) stuff.  Makes the code a tiny bit easier to read, and also
makes it more obvious that almost no platform needs to setup or use the
pci_config_table stuff.

Signed-off-by: Andrew Sharp <andywyse6@gmail.com>
drivers/pci/pci.c