Tag: aedd4fdf69293fc5379129294239b09da2a7c3ec

drivers/gpio/gpio-tegra.c: use devm_request_and_ioremap

Author: Julia Lawall <julia@diku.dk> Reimplement a call to devm_request_mem_region followed by a call to ioremap or ioremap_nocache by a call to devm_request_and_ioremap. The semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @nm@ expression myname; identifier i; @@ struct platform_driver i = { .driver = { .name = myname } }; @@ expression …

Continue reading