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:
Tomas Winkler 2007-10-25 17:15:32 +08:00 committed by David S. Miller
parent 12a70fbe57
commit c6f3f656e1
2 changed files with 4 additions and 4 deletions

View file

@ -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}
};

View file

@ -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}
};