> OK, for this refactoring to happen, > the second argument should be IORESOURCE_MEM > instead of generic 'arg2'. A corresponding adjustment was committed on 2019-07-17. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/scripts/coccinelle/api/devm_platform_ioremap_resource.cocci?id=d09778d16e20bc4f1f4971cc9a9fd7ff6ba898ff I constructed another variant of a script for the semantic patch language based on this contribution. I tried out to delete a bit of exception handling code after a call of the function “platform_get_resource”. Yesterday I sent a selection of patches from this transformation approach. (An analysis based on “Linux next-20190916” pointed 56 source files as update candidates out.) Will it be useful to integrate such a case distinction into the SmPL script directory? The analysis based on the committed SmPL script pointed 657 source files as update candidates out. So there are further opportunities for collateral software evolution. Can it become easier to check how many update suggestions are already in corresponding patch review queues? Regards, Markus