From: Vipin Kumar Date: Wed, 14 Mar 2012 06:17:15 +0000 (+0530) Subject: mtd: nand/fsmc: Use devm routines X-Git-Tag: v3.4-rc1~16^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b9dbe2e0f6870bf385b759b91e403b62a60c5e;p=pandora-kernel.git mtd: nand/fsmc: Use devm routines fsmc_nand driver currently uses normal kzalloc, request_mem etc routines. This patch replaces these routines with devm_kzalloc and devm_request_mem_region etc. Consequently, the error and driver removal scenarios are curtailed. Signed-off-by: Vipin Kumar Reviewed-by: Viresh Kumar Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed