Commit 1fb1defbb00eb2954483a7d9a70f8a02edf51753

Authored by Peter Huewe
Committed by Herbert Xu
1 parent a3fb1e330d

crypto: geode_aes - Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)

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 <peterhuewe@gmx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/crypto/geode-aes.c
... ... @@ -573,7 +573,7 @@
573 573 }
574 574  
575 575 static struct pci_device_id geode_aes_tbl[] = {
576   - { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LX_AES, PCI_ANY_ID, PCI_ANY_ID} ,
  576 + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_LX_AES), } ,
577 577 { 0, }
578 578 };
579 579