Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8593b18a authored by John Crispin's avatar John Crispin Committed by James Hogan
Browse files

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: default avatarJohn 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: default avatarJames Hogan <jhogan@kernel.org>
parent ab74abce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}
	}