diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-04-24 21:11:58 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-04-29 16:12:05 -0500 |
commit | 4e544bac8267f65a0bf06aed1bde9964da4812ed (patch) | |
tree | 797279047b61cd10ab8d3cbd59c2a1025a55166e /drivers/uio | |
parent | e0547c81bfcfad01cbbfa93a5e66bb98ab932f80 (diff) | |
download | linux-4e544bac8267f65a0bf06aed1bde9964da4812ed.tar.bz2 |
PCI: Add pci_dev_id() helper
In several places in the kernel we find PCI_DEVID used like this:
PCI_DEVID(dev->bus->number, dev->devfn)
Add a "pci_dev_id(struct pci_dev *dev)" helper to simplify callers.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions