From: Jingoo Han Date: Thu, 26 Dec 2013 01:42:34 +0000 (+0900) Subject: mtd: lantiq-flash: Use devm_kzalloc() X-Git-Tag: v3.14-rc1~65^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=436bf63ba5792f2f7bb5e1a4e8d38df8f1a44edc;p=pandora-kernel.git mtd: lantiq-flash: Use devm_kzalloc() Use devm_kzalloc() to make cleanup paths simpler. Also, checking return value of devm_kzalloc() is added in order to check if the allocation succeded. Signed-off-by: Jingoo Han Acked-by: John Crispin Signed-off-by: Brian Norris --- Reading git-diff-tree failed