From: Wei Yongjun Date: Mon, 3 Jun 2013 03:36:52 +0000 (+0000) Subject: net: sun4i-emac: fix a typo in emac_probe() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93baf4c615584fa02c21aa78f305428fc7060656;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: sun4i-emac: fix a typo in emac_probe() Just fixed a typo in emac_probe(). Signed-off-by: Wei Yongjun Acked-by: Maxime Ripard Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c index b411344e719e..26083cdc25ab 100644 --- a/drivers/net/ethernet/allwinner/sun4i-emac.c +++ b/drivers/net/ethernet/allwinner/sun4i-emac.c @@ -821,7 +821,7 @@ static int emac_probe(struct platform_device *pdev) db->membase = of_iomap(np, 0); if (!db->membase) { dev_err(&pdev->dev, "failed to remap registers\n"); - return -ENOMEM; + ret = -ENOMEM; goto out; }