]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc250ef04815ffb31cfd6eab55bec10c7cafbe9eb
tree751110e04edd017e297e2585716afbf54074a7df
parenta0fd09f76c8c813fed7ae8762befbf82748cb8f9
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