]> git.sur5r.net Git - u-boot/commit
net: emaclite: Use calloc instead of malloc
authorMichal Simek <monstr@monstr.eu>
Thu, 25 Aug 2011 10:28:47 +0000 (12:28 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 3 Oct 2011 06:04:14 +0000 (08:04 +0200)
commit28ae02e5af9f38886860b883dcff22c4354667e5
tree4b788c71411cdab0471ebbb647fb66c6fbe3ad19
parentbe986967419ffdd9528e5d53271a5c2220c1d878
net: emaclite: Use calloc instead of malloc

Simplify driver logic and clear eth_device structure
in one command.

Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/net/xilinx_emaclite.c