Messages in this thread | | | Subject | Re: [PATCH v1] i2c: busses: convert to devm_platform_get_and_ioremap_resource | From | Markus Elfring <> | Date | Fri, 17 Apr 2020 22:36:35 +0200 |
| |
> use devm_platform_get_and_ioremap_resource() to simplify code, which > contains platform_get_resource() and devm_ioremap_resource(), it also > get the resource for use by the following code.
I suggest to improve also this change description.
I have tried another script variant out for the semantic patch language. This source code analysis approach would propose to transform 15 source files (for example in the directory “drivers/i2c” of the software “Linux next-20200417”). Would you like to take another look at corresponding change possibilities?
Regards, Markus
| |