]> git.sur5r.net Git - u-boot/commit
mmc: fsl_esdhc: Use calloc()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 27 Dec 2012 08:51:08 +0000 (08:51 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 6 May 2013 21:26:25 +0000 (16:26 -0500)
commit88227a1d8a734cfd09ac43609abec8b66c2d2610
treee06d814ed5decb813a61d2a003c8a89722bfc497
parenta68aac4947bf8dfd429267561ddf438fab2561ec
mmc: fsl_esdhc: Use calloc()

A malloc() followed by memset() can be simply replaced by calloc().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/fsl_esdhc.c