Tag: 52ea9a7d7946c03aa1f9eeb71adb0191402724dd

watchdog: dw_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 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