Commit c6f3f656 authored by Tomas Winkler's avatar Tomas Winkler Committed by David S. Miller

iwlwifi: using PCI_DEVICE macro

PCI_DEVICE macro is more concise when using defualt values
in device definitions
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 12a70fbe
...@@ -2298,8 +2298,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv) ...@@ -2298,8 +2298,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
} }
struct pci_device_id iwl_hw_card_ids[] = { struct pci_device_id iwl_hw_card_ids[] = {
{0x8086, 0x4222, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_DEVICE(0x8086, 0x4222)},
{0x8086, 0x4227, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_DEVICE(0x8086, 0x4227)},
{0} {0}
}; };
......
...@@ -4693,8 +4693,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv) ...@@ -4693,8 +4693,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
} }
struct pci_device_id iwl_hw_card_ids[] = { struct pci_device_id iwl_hw_card_ids[] = {
{0x8086, 0x4229, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_DEVICE(0x8086, 0x4229)},
{0x8086, 0x4230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_DEVICE(0x8086, 0x4230)},
{0} {0}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment