]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rts5208: Use common pci_get_bus_and_slot() instead of private one
authorYijing Wang <wangyijing@huawei.com>
Fri, 5 Jun 2015 06:04:59 +0000 (14:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:38:56 +0000 (13:38 -0700)
We already have a inline pci_get_bus_and_slot() in include/linux/pci.h,
Use it instead of local one.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.h

index aa1e034f7f4552fa1153c9f0f299eacad45bbd43..1396263e13e6e7215b58a4aa7dca16609acf5862 100644 (file)
@@ -48,9 +48,6 @@
 
 #define CR_DRIVER_NAME         "rts5208"
 
-#define pci_get_bus_and_slot(bus, devfn)       \
-       pci_get_domain_bus_and_slot(0, (bus), (devfn))
-
 /*
  * macros for easy use
  */