PCI: tegra: Use of_device_get_match_data()
authorThierry Reding <treding@nvidia.com>
Mon, 15 Aug 2016 15:31:32 +0000 (17:31 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Aug 2016 20:41:41 +0000 (15:41 -0500)
commitc460af94c3bedefc4218e07629d0ba06fd5ac80b
tree196e37c12d76ca763db65682ffe1a0d9e0304d37
parenta7fbae213925488066e296f30cc81aaa2c5c2802
PCI: tegra: Use of_device_get_match_data()

of_device_get_match_data() was added in v4.2 to reduce the the boilerplate
required to get at SoC-specific data.  Use it to simplify the code
slightly.

[bhelgaas: changelog]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-tegra.c