mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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>
This commit is contained in:
parent
05871f994e
commit
6ed977428a
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue