]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: use pci_dev->revision
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 15 Apr 2011 15:23:11 +0000 (19:23 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:03 +0000 (15:38 -0400)
commit92d85014b3817acddfdf8fd4789cc886637eac8d
tree9a332c601b8ef4d805cf00d5979eeb37bd24ce38
parent94aed2bb7159e6d40d68bb9f6018c27f3d8af186
iwlegacy: use pci_dev->revision

Commit 92be5c71117b462d90d7a178ea0f9b1898be670e (iwlwifi: split the drivers for
agn and legacy devices 3945/4965) added code to read the 4965's revision ID from
the PCI configuration register while it's already stored by PCI subsystem in the
'revision' field of 'struct pci_dev'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl4965-base.c