Neaten things up a bit and remove a pci_dn use.

Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
 arch/powerpc/platforms/powernv/eeh-powernv.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/powernv/eeh-powernv.c 
b/arch/powerpc/platforms/powernv/eeh-powernv.c
index aaccb3768393..f58fe6bda46e 100644
--- a/arch/powerpc/platforms/powernv/eeh-powernv.c
+++ b/arch/powerpc/platforms/powernv/eeh-powernv.c
@@ -1001,10 +1001,8 @@ static void pnv_eeh_wait_for_pending(struct eeh_dev 
*edev, const char *type,
                msleep((1 << i) * 100);
        }
 
-       pr_warn("%s: Pending transaction while issuing %sFLR to 
%04x:%02x:%02x.%01x\n",
-               __func__, type,
-               pdn->phb->global_number, pdn->busno,
-               PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn));
+       eeh_edev_warn(edev, "%s: Pending transaction while issuing %sFLR\n",
+               __func__, type);
 }
 
 static int pnv_eeh_do_flr(struct eeh_dev *edev, int option)
-- 
2.21.0

Reply via email to