sparc/PCI: Use dev_is_pci() to identify PCI devices
authorYijing Wang <wangyijing@huawei.com>
Wed, 11 Dec 2013 06:00:26 +0000 (14:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2014 01:55:19 +0000 (17:55 -0800)
commitbf70053c5d2000514ade1f60f47e1f426899af39
treec92ea658b50c7a20c66c1ba20a71acfc0d3de8dd
parent1de425c7b271220df5c1bd28e45ca97ca3f4dae8
sparc/PCI: Use dev_is_pci() to identify PCI devices

Use dev_is_pci() instead of checking bus type directly.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/iommu.c
arch/sparc/kernel/ioport.c