From: Julia Lawall Date: Mon, 19 Aug 2013 11:20:36 +0000 (+0200) Subject: serial: st-asc: replace devm_request_and_ioremap by devm_ioremap_resource X-Git-Tag: v3.12-rc1~182^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3abeff77c8e2d2ac494021a7ee12892b6136381c;p=pandora-kernel.git serial: st-asc: replace devm_request_and_ioremap by devm_ioremap_resource Use devm_ioremap_resource instead of devm_request_and_ioremap. This was done using the semantic patch scripts/coccinelle/api/devm_ioremap_resource.cocci and various manual modifications to move associated calls to platform_get_resource closer to the resulting call to devm_ioremap_resource and to remove the associated error handling code. The initialization of port->mapbase is also moved lower, to take advantage of the NULL test on res performed by devm_ioremap_resource. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed