Simplify the implementation by using a known wrapper function.
Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci
Signed-off-by: Saiyam Doshi
---
Changes in v2:
* Updated changelog.
drivers/i2c/busses/i2c-qup.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
On Tue, Sep 17, 2019 at 05:40:14PM +0200, Markus Elfring wrote:
> > Use devm_platform_ioremap_resource helper which wraps
> > platform_get_resource() and devm_ioremap_resource() together.
>
> Can a wording like “Simplify this function implementation by using
> a known wrapper function.” be nicer
> Use devm_platform_ioremap_resource helper which wraps
> platform_get_resource() and devm_ioremap_resource() together.
Can a wording like “Simplify this function implementation by using
a known wrapper function.” be nicer for this change description?
> The semantic patch that makes this report
Use devm_platform_ioremap_resource helper which wraps
platform_get_resource() and devm_ioremap_resource() together.
The semantic patch that makes this report is available
in scripts/coccinelle/api/devm_platform_ioremap_resource.cocci.
Found using - http://coccinelle.lip6.fr/
Signed-off-by:
4 matches
Mail list logo