powerpc/pci: Use dev_is_pci() to check whether it is pci device
authorYijing Wang <wangyijing@huawei.com>
Thu, 5 Dec 2013 12:01:20 +0000 (20:01 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Dec 2013 00:40:24 +0000 (11:40 +1100)
commitd317ac1750141db07ba30ecb1e2bacebad292fcd
tree43d196980935adf43f898b8343c2500c5760d2ca
parent5877231f646bbd6d1d545e7af83aaa6e6b746013
powerpc/pci: Use dev_is_pci() to check whether it is pci device

Use PCI standard marco dev_is_pci() instead of directly compare
pci_bus_type to check whether it is pci device.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c