sf: Squash the malloc+memset combo
authorMarek Vasut <marex@denx.de>
Wed, 15 Jan 2014 14:17:54 +0000 (15:17 +0100)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 17 Mar 2014 16:24:56 +0000 (21:54 +0530)
commitcc56f13392197d6195ec6df2569bec1ce4d7b9ce
tree0ae1e3b99c0ad2873ed284f144333e6e825d99b5
parentcfa90a636b74312c56e2cc1d307876fdcd6d687c
sf: Squash the malloc+memset combo

Squash the malloc()+memset() combo in favor of calloc().

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/sf_probe.c