From: Benoit Cousson Date: Wed, 1 Feb 2012 15:01:39 +0000 (+0100) Subject: gpio/omap: Use devm_ API and add request_mem_region X-Git-Tag: v3.4-rc1~65^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96751fcbe5438e95514b025e9cee7a6d38038f40;p=pandora-kernel.git gpio/omap: Use devm_ API and add request_mem_region Replace the regular kzalloc and ioremap with the devm_ equivalent to simplify error handling. Add the missing devm_request_mem_region to reserve the region used by the driver. Signed-off-by: Benoit Cousson Cc: Tarun Kanti DebBarma --- Reading git-diff-tree failed