PCI: Use to_pci_dev() instead of open-coding it
Use to_pci_dev() instead of open-coding it.Signed-off-by: Geliang Tang <geliangtang@163.com>Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
authored by Geliang Tang and committed by Bjorn Helgaas 10 years ago f3d2f165 ff3ce480