提交 c6f3f656 编写于 作者: T Tomas Winkler 提交者: David S. Miller

iwlwifi: using PCI_DEVICE macro

PCI_DEVICE macro is more concise when using defualt values
in device definitions
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NZhu Yi <yi.zhu@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 12a70fbe
......@@ -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}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册