]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI/MSI: Rename pci_msi_check_device() to pci_msi_supported()
authorAlexander Gordeev <agordeev@redhat.com>
Tue, 23 Sep 2014 18:45:58 +0000 (12:45 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 1 Oct 2014 18:21:14 +0000 (12:21 -0600)
commita06cd74cefe754341f747ddc4cf7b0058fa9bff8
treeccac2544277779a5515d93a81350b97164a8cba4
parent27e20603c54ba633ed259284d006275f13c9f95b
PCI/MSI: Rename pci_msi_check_device() to pci_msi_supported()

Rename pci_msi_check_device() to pci_msi_supported() for clarity.  Note
that pci_msi_supported() returns true if MSI/MSI-X is supported, so code
like:

  if (pci_msi_supported(...))

reads naturally.

[bhelgaas: changelog, split to separate patch, reverse sense]
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c