From: Shubhrajyoti D Date: Sat, 17 Mar 2012 07:14:01 +0000 (+0530) Subject: OMAP : SPI : use devm_* functions X-Git-Tag: v3.5-rc1~95^2~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a77b127ae147f5827043a9896d7f4cb248b402e;p=pandora-kernel.git OMAP : SPI : use devm_* functions The various devm_* functions allocate memory that is released when a driver detaches. This patch uses devm_request_and_ioremap to request memory in probe function. Since the freeing is not needed the calls are deleted from remove function.Also use use devm_kzalloc for the cs memory allocation. Signed-off-by: Shubhrajyoti D --- Reading git-diff-tree failed