uwb: Use dev_is_pci() to check whether it is pci device
authorYijing Wang <wangyijing@huawei.com>
Thu, 5 Dec 2013 11:21:42 +0000 (19:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 02:01:56 +0000 (18:01 -0800)
commit0d4e5bee27dc2f3aa2b0a8a2e0313bfcaf4c5389
tree5d7291625ef31a10b306a4fcd4d2263c8636c4e0
parent1ae5799ef63176cc75ec10e545cb65f620a82747
uwb: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uwb/umc-bus.c
include/linux/uwb/umc.h