PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro
authorPali Rohár <pali@kernel.org>
Wed, 28 Sep 2022 12:19:11 +0000 (14:19 +0200)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Thu, 29 Sep 2022 08:38:13 +0000 (10:38 +0200)
commit8bb7ff12a91429eb76e093b517ae810b146448fe
treeec4a71cebd4b2c38fd15ce09084b5ff15ad82a49
parent2301a3e1a5664cf8380d2b8ef051005dc90bc881
PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro

Simplify pci-tegra.c driver code and use new PCI_CONF1_EXT_ADDRESS() macro
for accessing PCI config space.

Link: https://lore.kernel.org/r/20220928121911.14994-1-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/pci/controller/pci-tegra.c