powerpc/eeh: Rely on dev->link_active_reporting
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sun, 11 Jun 2023 17:19:32 +0000 (18:19 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Jun 2023 22:58:12 +0000 (17:58 -0500)
commit1541a21305ceb10fcf3f7cbb23f3e1a00bbf1789
treee8f97f2b0179d9f36cfbb4e443448aeaad05dd1a
parent1f087398dbbefe3fe48fc3816b9603d66fec36fc
powerpc/eeh: Rely on dev->link_active_reporting

Use dev->link_active_reporting to determine whether Data Link Layer Link
Active Reporting is available rather than re-retrieving the capability.

Link: https://lore.kernel.org/r/alpine.DEB.2.21.2305310124100.59226@angie.orcam.me.uk
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/kernel/eeh_pe.c