Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Huewe and committed by
Herbert Xu
1fb1defb a3fb1e33

+1 -1
+1 -1
drivers/crypto/geode-aes.c
··· 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