summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx.h
diff options
context:
space:
mode:
authorYijing Wang2015-06-05 08:04:59 +0200
committerGreg Kroah-Hartman2015-06-08 22:38:56 +0200
commit6ed977428a7e46f860f3e7a2d878dc8dd023202b (patch)
treead22e0e1de767b981a5a426a47b0b4f78ef9eee1 /drivers/staging/rts5208/rtsx.h
parentstaging:rtl8712:Fix compressed return statement (diff)
downloadkernel-qcow2-linux-6ed977428a7e46f860f3e7a2d878dc8dd023202b.tar.gz
kernel-qcow2-linux-6ed977428a7e46f860f3e7a2d878dc8dd023202b.tar.xz
kernel-qcow2-linux-6ed977428a7e46f860f3e7a2d878dc8dd023202b.zip
staging: rts5208: Use common pci_get_bus_and_slot() instead of private one
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>
Diffstat (limited to 'drivers/staging/rts5208/rtsx.h')
-rw-r--r--drivers/staging/rts5208/rtsx.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rts5208/rtsx.h b/drivers/staging/rts5208/rtsx.h
index aa1e034f7f45..1396263e13e6 100644
--- a/drivers/staging/rts5208/rtsx.h
+++ b/drivers/staging/rts5208/rtsx.h
@@ -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
*/