Tag: 5d32d4868ad87a5be8571b22b3d732576504dfb0

watchdog: imx2_wdt.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 variable res_size is then no longer needed. The semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @nm@ expression myname; identifier i; @@ struct platform_driver i = { .driver = …

Continue reading