Commit 6ed97742 authored by Yijing Wang's avatar Yijing Wang Committed by Greg Kroah-Hartman
Browse files

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: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 05871f99
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
 */