sf: ops: Squash the malloc+memset combo
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Tue, 4 Feb 2014 16:06:13 +0000 (21:36 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 17 Mar 2014 16:24:57 +0000 (21:54 +0530)
commitc6136aad91da493c446f22af8f5d774a74dec9d1
tree197d355b9d0c44e977a9eb9d865239dd666c6978
parentcc56f13392197d6195ec6df2569bec1ce4d7b9ce
sf: ops: Squash the malloc+memset combo

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

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