提交 8593b18a 编写于 作者: J John Crispin 提交者: James Hogan

MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver

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

Fixes: 7e5873d3 ("MIPS: pci: Add MT7620a PCIE driver")
Signed-off-by: NJohn Crispin <john@phrozen.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.5+
Patchwork: https://patchwork.linux-mips.org/patch/15321/Signed-off-by: NJames Hogan <jhogan@kernel.org>
上级 ab74abce
......@@ -120,7 +120,7 @@ static int wait_pciephy_busy(void)
else
break;
if (retry++ > WAITRETRY_MAX) {
printk(KERN_WARN "PCIE-PHY retry failed.\n");
pr_warn("PCIE-PHY retry failed.\n");
return -1;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册