ath9k: use pci_dev->subsystem_device
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 22 Jul 2011 15:58:23 +0000 (19:58 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:29:22 +0000 (14:29 -0400)
commit581c9c4f7113fbb4d28d58ab6b2125e16ce62812
tree751110e04edd017e297e2585716afbf54074a7df
parent26aaa4a0e923326560286e567b9fbf8429d5ef2b
ath9k: use pci_dev->subsystem_device

The driver reads PCI subsystem ID from the PCI configuration register while it's
already stored by the PCI subsystem in the 'subsystem_device' 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/ath/ath9k/pci.c