mirror of https://gitee.com/openkylin/linux.git
net: sun4i-emac: fix a typo in emac_probe()
Just fixed a typo in emac_probe(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ff20877ab3
commit
93baf4c615
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue