Re: [PATCH v1] i2c: busses: convert to devm_platform_get_and_ioremap_resource

From: Markus Elfring
Date: Fri Apr 17 2020 - 16:37:07 EST


> 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