mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ar71xx] cosmetic changes in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13193 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -69,7 +69,7 @@ static int ag71xx_mdio_mii_read(struct ag71xx_mdio *am, int addr, int reg)
|
||||
|
||||
DBG("mii_read: addr=%04x, reg=%04x, value=%04x\n", addr, reg, ret);
|
||||
|
||||
out:
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -184,11 +184,11 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev)
|
||||
ag71xx_mdio_bus = am;
|
||||
return 0;
|
||||
|
||||
err_iounmap:
|
||||
err_iounmap:
|
||||
iounmap(am->mdio_base);
|
||||
err_free_mdio:
|
||||
err_free_mdio:
|
||||
kfree(am);
|
||||
err_out:
|
||||
err_out:
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user