Commit 822c308a authored by John Crispin's avatar John Crispin Committed by Greg Kroah-Hartman

MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver

commit 8593b18a upstream.

Switch the printk() call to the prefered pr_warn() api.

Fixes: 7e5873d3 ("MIPS: pci: Add MT7620a PCIE driver")
Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15321/Signed-off-by: default avatarJames Hogan <jhogan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 67246fb9
...@@ -121,7 +121,7 @@ static int wait_pciephy_busy(void) ...@@ -121,7 +121,7 @@ static int wait_pciephy_busy(void)
else else
break; break;
if (retry++ > WAITRETRY_MAX) { if (retry++ > WAITRETRY_MAX) {
printk(KERN_WARN "PCIE-PHY retry failed.\n"); pr_warn("PCIE-PHY retry failed.\n");
return -1; return -1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment