Patchwork [trivial] stmicro: Fix typo in stmmac_pci.c and stmmac_platform.c

login
register
mail settings
Submitter Masanari Iida
Date Feb. 12, 2012, 1:45 p.m.
Message ID <1329054341-1786-1-git-send-email-standby24x7@gmail.com>
Download mbox | patch
Permalink /patch/140811/
State Accepted
Delegated to: David Miller
Headers show

Comments

Masanari Iida - Feb. 12, 2012, 1:45 p.m.
Correct spelling "drivr" to "driver" in
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c   |    2 +-
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
David Miller - Feb. 13, 2012, 5:51 a.m.
From: Masanari Iida <standby24x7@gmail.com>
Date: Sun, 12 Feb 2012 22:45:41 +0900

> Correct spelling "drivr" to "driver" in
> drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index c796de9..b596578 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -98,7 +98,7 @@  static int __devinit stmmac_pci_probe(struct pci_dev *pdev,
 
 	priv = stmmac_dvr_probe(&(pdev->dev), &plat_dat);
 	if (!priv) {
-		pr_err("%s: main drivr probe failed", __func__);
+		pr_err("%s: main driver probe failed", __func__);
 		goto err_out;
 	}
 	priv->ioaddr = addr;
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 1ac8324..11af27e 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -61,7 +61,7 @@  static int stmmac_pltfr_probe(struct platform_device *pdev)
 	plat_dat = pdev->dev.platform_data;
 	priv = stmmac_dvr_probe(&(pdev->dev), plat_dat);
 	if (!priv) {
-		pr_err("%s: main drivr probe failed", __func__);
+		pr_err("%s: main driver probe failed", __func__);
 		goto out_unmap;
 	}