[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b352964f-a9a4-c8eb-520c-19b4dca4fba1@gmail.com>
Date: Fri, 19 Apr 2019 13:08:03 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>,
"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