forked from Minki/linux
iwlwifi: using PCI_DEVICE macro
PCI_DEVICE macro is more concise when using defualt values in device definitions Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
12a70fbe57
commit
c6f3f656e1
@ -2298,8 +2298,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
|
||||
}
|
||||
|
||||
struct pci_device_id iwl_hw_card_ids[] = {
|
||||
{0x8086, 0x4222, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{0x8086, 0x4227, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{PCI_DEVICE(0x8086, 0x4222)},
|
||||
{PCI_DEVICE(0x8086, 0x4227)},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
@ -4693,8 +4693,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
|
||||
}
|
||||
|
||||
struct pci_device_id iwl_hw_card_ids[] = {
|
||||
{0x8086, 0x4229, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{0x8086, 0x4230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{PCI_DEVICE(0x8086, 0x4229)},
|
||||
{PCI_DEVICE(0x8086, 0x4230)},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user