[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b193514c-23d1-e090-7ddb-40371595f3a7@gmail.com>
Date: Fri, 19 Apr 2019 20:27:45 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH 0/3] PCI: add help pci_dev_id
In several places in the kernel we find PCI_DEVID used like this:
PCI_DEVID(dev->bus->number, dev->devfn) Therefore create a helper
for it.
Heiner Kallweit (3):
PCI: add helper pci_dev_id
PCI: use helper pci_dev_id
r8169: use new helper pci_dev_id
drivers/net/ethernet/realtek/r8169.c | 3 +--
drivers/pci/msi.c | 6 +++---
drivers/pci/search.c | 10 +++-------
include/linux/pci.h | 5 +++++
4 files changed, 12 insertions(+), 12 deletions(-)
--
2.21.0
Powered by blists - more mailing lists