crypto: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)
Subsystems (3)
PATCH 16/25 crypto: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)
From: Peter Huewe <[email protected]>
This patch converts pci_table entries, where .subvendor=PCI_ANY_ID and .subdevice=PCI_ANY_ID, .class=0 and .class_mask=0, to use the PCI_VDEVICE macro, and thus improves readability.
Signed-off-by Peter Huewe <[email protected]>
--- drivers/crypto/geode-aes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/crypto/geode-aes.c +1 -1
@@ -573,7 +573,7 @@ geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id) }static struct pci_device_id geode_aes_tbl[] = { - {PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_LX_AES ,PCI_ANY_ID ,PCI_ANY_ID } , + {PCI_VDEVICE (AMD ,PCI_DEVICE_ID_AMD_LX_AES ), } , {0 , } };
Signature · 1 line
1.7.1
Quoted 7 lines · Peter Huewe
From: Peter Huewe <[email protected]>
This patch converts
pci_tableentries, where .subvendor=PCI_ANY_ID and .subdevice=PCI_ANY_ID, .class=0 and .class_mask=0, to use thePCI_VDEVICEmacro, and thus improves readability.Signed-off-by Peter Huewe <[email protected]>
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt