mtd: gpmi: Use devm_kzalloc()
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 5 Nov 2013 02:07:05 +0000 (00:07 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 18:37:32 +0000 (10:37 -0800)
commitedaf4d4aad61134e820c0431cbe3d319794899f9
tree7119f7fb7d46b083173728f16228e7307327fc4c
parenta749d13acd8e079ed4c77a9456d842dc94af8f17
mtd: gpmi: Use devm_kzalloc()

Using devm_kzalloc() can make the code simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c