PCI: Skip id checking if no id is passed
authorYinghai Lu <yinghai@kernel.org>
Wed, 17 Nov 2010 20:10:40 +0000 (12:10 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 23 Dec 2010 20:53:10 +0000 (12:53 -0800)
commitee8abf783dd36f65440fd782ad16f9768631d998
tree1e5946d10041d0ab3443ba7a4632a7cd663e8018
parent23ea3793fd368fd6a1ea20659699e280e2996658
PCI: Skip id checking if no id is passed

Will get warning when pci stub driver is built-in kenel like:
pci-stub: invalid id string ""

So stop early if no id is passed.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-stub.c