ioat/dca: Use dev_is_pci() to check whether it is pci device
authorYijing Wang <wangyijing@huawei.com>
Thu, 5 Dec 2013 11:31:18 +0000 (19:31 +0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Apr 2014 19:17:34 +0000 (12:17 -0700)
commit1fde2548460c1ded9fe71220b506473f0b7de768
treeed1774b6a0671c42b90900b366d1a8fcf644028a
parentdcb99fd9b08cfe1afe426af4d8d3cbc429190f15
ioat/dca: 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: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dca.c