summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2013-08-19 15:20:36 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-20 04:12:21 +0400
commit3abeff77c8e2d2ac494021a7ee12892b6136381c (patch)
tree4c7501627a3359ecf2976450826a487570b70fa8 /scripts/checkpatch.pl
parent33acbb82695f84e9429c1f7fbdeb4588dea12ffa (diff)
downloadlinux-3abeff77c8e2d2ac494021a7ee12892b6136381c.tar.xz
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 <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions