Christoph Hellwig aad6aa0cd6 x86/PCI: Add to_pci_sysdata() helper
Various helpers need the pci_sysdata just to dereference a single field in
it.  Add a little helper that returns the properly typed sysdata pointer to
require a little less boilerplate code.

[jonathan.derrick: to_pci_sysdata const argument]
Link: https://lore.kernel.org/r/1579613871-301529-2-git-send-email-jonathan.derrick@intel.com
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2020-01-24 14:54:08 -06:00
..
2019-12-04 19:06:18 -08:00
2019-12-06 16:12:39 -08:00
2019-12-06 14:19:37 -08:00
2019-11-28 11:16:43 -08:00
2019-12-02 17:35:04 -08:00
2019-12-06 10:28:09 -08:00
2019-12-02 17:18:43 -08:00
2019-12-06 13:36:31 -08:00
2019-12-06 13:36:31 -08:00
2019-11-28 10:57:12 -08:00
2020-01-24 14:54:08 -06:00
2019-12-04 19:44:12 -08:00